Skip to main content

DownloadAuditNote

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.
OperationAccess levelResource typeCondition keyDependent operation
aimiaobi:DownloadAuditNoteget
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringYes

The unique identifier of the Alibaba Cloud Model Studio workspace. Get the Workspace ID.

llm-xx
TaskIdstringNo

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
NoteIdstringNo

Rule library ID. If left blank, the default is Default.

Response parameters

NameTypeDescriptionExample value
object

Schema of Response

RequestIdstring

Id of the request

F2F366D6-E9FE-1006-BB70-2C650896AAB5
Successboolean

Indicates whether the request was successful.

true
Codestring

Status code.

DataNotExists
Messagestring

Error description.

success
HttpStatusCodeinteger

HTTP status code.

200
Datastring

Download link for the destination rule library.

http://download.xxx.yyy.zzz

Examples

Success response JSON format
{
  "RequestId": "F2F366D6-E9FE-1006-BB70-2C650896AAB5",
  "Success": true,
  "Code": "DataNotExists",
  "Message": "success",
  "HttpStatusCode": 200,
  "Data": "http://download.xxx.yyy.zzz"
}

Error codes

Visit the Error Center to view more error codes.

Change history

Change timeChange summaryOperation
2025-11-11OpenAPI input parameters changedView change details