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 resourcesis 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.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:AddAuditTerms | create | *All resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| WorkspaceId | string | Yes | Unique identifier of the Alibaba Cloud Model Studio workspace: To get this ID, see Workspace ID | llm-xx |
| Keyword | string | No | Keyword | 龘 |
| SuggestWord | string | No | Suggested word | 龘(dá) |
| TermsDesc | string | No | 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." |
| ExceptionWord | array | No | Exception phrase | |
| string | No | Exception phrase | Exception phrase | |
| TermsName | string | No | Name of the dictionary. Optional. If left empty, the default is Default | Default |
Response parameters
| Element | Type | Description | Example |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | F2F366D6-E9FE-1006-BB70-2C650896AAB5 |
| Success | boolean | Whether the request succeeded | true |
| Code | string | Status code | DataNotExists |
| Message | string | Error message | success |
| HttpStatusCode | integer | HTTP status code | 200 |
| Data | boolean | Business data (whether the update succeeded - deprecated - use DataV1 to get the primary key ID) | true |
| DataV1 | object | ID of the returned dictionary term | |
| Id | long | ID | 562fe4163a59d7bcb44bfdde4e3d5046 |
Examples
Success response
JSON format
Error codes
Go to 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 |