Skip to main content

AddAuditTerms

Add a custom term to the audit dictionary.

Debug

You can run this API directly in OpenAPI Explorer, saving you the trouble of computing signatures. After the call succeeds, 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 RAM users or RAM roles the permission to call this API. Details:
  • Action: the specific permission point.
  • Access level: the access level of each action. Valid values: Write, Read, or List.
  • Resource type: the resource types that support authorization for the action. Details:
    • Required resource types are marked with a leading *.
    • For actions that do not support resource-level authorization, All resources is used.
  • Condition key: the condition keys defined by the cloud service itself.
  • Dependent action: other permissions required to successfully perform the action. The caller must have the permissions of all dependent actions for the operation to succeed.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:AddAuditTermscreate
*All resources
*
    None
None

Request parameters

ParameterTypeRequiredDescriptionExample
WorkspaceIdstringYes

Unique identifier of the Alibaba Cloud Model Studio workspace: To get this ID, see Workspace ID

llm-xx
KeywordstringNo

Keyword

龘
SuggestWordstringNo

Suggested word

龘(dá)
TermsDescstringNo

Audit basis

The phrase "dragons soaring" originates from the Siku edition of Yupian, Chapter 23 (Dragon radical), Entry 8. The textual definition is "the appearance of a flock of dragons soaring upward, vigorous and passionate."
ExceptionWordarrayNo

Exception phrase

stringNo

Exception phrase

Exception phrase
TermsNamestringNo

Name of the dictionary. Optional. If left empty, the default is Default

Default

Response parameters

ElementTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

F2F366D6-E9FE-1006-BB70-2C650896AAB5
Successboolean

Whether the request succeeded

true
Codestring

Status code

DataNotExists
Messagestring

Error message

success
HttpStatusCodeinteger

HTTP status code

200
Databoolean

Business data (whether the update succeeded - deprecated - use DataV1 to get the primary key ID)

true
DataV1object

ID of the returned dictionary term

Idlong

ID

562fe4163a59d7bcb44bfdde4e3d5046

Examples

Success response JSON format
{
  "RequestId": "F2F366D6-E9FE-1006-BB70-2C650896AAB5",
  "Success": true,
  "Code": "DataNotExists",
  "Message": "success",
  "HttpStatusCode": 200,
  "Data": true,
  "DataV1": {
    "Id": 0
  }
}

Error codes

Go to the Error Center to view more error codes.

Change history

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