Submit a custom dictionary import task.
Try it now
You can run this API directly in OpenAPI Explorer without calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Try it now
RAM authorization
The following table describes the authorization information for this API, which can be used 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 operation. Valid values: Write, Read, and List.
-
Resource type: The resource types that support authorization for the operation. Details:
- Required resource types are marked with a preceding 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 action: Other permissions required to successfully perform the operation. The operator must have the permissions of all dependent actions at the same time for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:SubmitImportTermsTask | none | *All Resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | Yes | Alibaba Cloud Model Studio unique workspace identifier: For more information, see Workspace ID | llm-xx |
| FileKey | string | Yes | File FileKey | oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx |
| TermsName | string | No | Dictionary name. Optional. If not specified, 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 this request was successful. | true |
| Code | string | Status code. | DataNotExists |
| Message | string | Error description. | success |
| HttpStatusCode | integer | HTTP status code. | 200 |
| Data | object | Business data. | |
| TaskId | string | Task ID. | 3f7045e099474ba28ceca1b4eb6d6e21 |
Examples
Success response
JSON format
Error codes
Visit the Error Center to view more error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-11-11 | OpenAPI input parameters changed. | View change details |