Queries the progress of a post-processing task for a rule library. Use this operation together with the ConfirmAndPostProcessAuditNote operation to check the status of the current post-processing task.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Debug
Authorization information
The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant a RAM user or a RAM role the permission to call this API. Details are as follows:
- Operation: the specific permission point.
- Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the operation. Details are as follows:
- Required resource types are marked with a leading asterisk (*).
- For operations that do not support resource-level authorization,
All resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Dependent operation: other permissions required to successfully perform the operation. The caller must have the permissions of all dependent operations for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Dependent operation |
|---|---|---|---|---|
| aimiaobi:GetAuditNotePostProcessingStatus | get | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | Yes | The unique identifier of an Alibaba Cloud Model Studio workspace: Get the Workspace ID | llm-xx |
| TaskId | string | Yes | The task ID returned by the SubmitAuditNote operation. This is the unique identifier of the task index of the custom rule library. Keep it safe for future use. | xxx_Default_12847192741412 |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | F2F366D6-E9FE-1006-BB70-2C650896AAB5 |
| Success | boolean | Indicates whether the request was successful. | true |
| Code | string | Status code | DataNotExists |
| Message | string | Error description | success |
| HttpStatusCode | integer | HTTP status code | 200 |
| Data | object | The returned data. | |
| NoteId | string | The ID of the rule library. The default value in the current version is "Default". | Default |
| Status | string | The status of the current post-processing task. Valid values: PENDING (pending), RUNNING (processing), SUCCEEDED (success), and FAILED (failure). | RUNNING |
| TotalLines | integer | The total number of lines in the structured rule library. | 666 |
| ProcessedLines | integer | The number of lines that have been post-processed. | 233 |
| ErrorMessage | string | The error message. This is returned only when the post-processing task fails. | error |
| CreateTime | string | The time when the current post-processing task was created (YYYY-MM-DD HH:mm:ss). | 1970-01-01 12:34:56 |
| CompletionTime | string | The time when the current post-processing task was completed (YYYY-MM-DD HH:mm:ss). | 1970-01-01 23:34:45 |
Examples
Success response
JSON format