Call this API to download the structured rule library for further processing. You can use this API to download either the structured rule library before post-processing or the structured rule library currently available for auditing. For specific usage, see the input parameter descriptions.
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 permission policy statement to grant a RAM user or 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 in the operation. Details are as follows:
- For required resource types, an asterisk (*) is prefixed.
- For operations that do not support resource-level authorization, All Resources is used.
- Condition key: the condition keys defined by the cloud service itself.
- Dependent operation: other permissions required to successfully perform the operation. The operator must have the permissions of all dependent operations for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Dependent operation |
|---|---|---|---|---|
| aimiaobi:DownloadAuditNote | get | *All Resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | Yes | The unique identifier of the Alibaba Cloud Model Studio workspace. Get the Workspace ID. | llm-xx |
| TaskId | string | No | The taskId obtained by calling the SubmitAuditNote API. This is the unique identifier of the custom rule library task index. Store it securely when using it. When you call this API, if the input parameters include taskId, you can retrieve the structured rule library that you have successfully uploaded via the SubmitAuditNote API but has not undergone post-processing by ConfirmAndProcessAuditNote. If the input parameters do not include taskId, you can retrieve the structured rule library that has undergone post-processing and is available for auditing. | xxx_Default_1241541251241 |
| NoteId | string | No | Rule library ID. If left blank, the default is Default. |
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 | string | Download link for the destination rule library. | http://download.xxx.yyy.zzz |
Examples
Success response
JSON format
Error codes
Visit the Error Center to view more error codes.
Change history
| Change time | Change summary | Operation |
|---|---|---|
| 2025-11-11 | OpenAPI input parameters changed | View change details |