FetchExportTermsTask
Retrieves the results of a term library export task.
Try it now
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.
Authorization information
The following table describes the authorization information of the API. You can use it in the Action element of a RAM permission policy statement to grant RAM users or RAM roles the permission to call this API. For more information, see the following:
-
Action: 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. For more information, see the following:
- Required resource types are marked with a leading *.
- 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: the other permissions required to successfully perform the operation. The caller must have the permissions of the dependent actions at the same time for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:FetchExportTermsTask | none | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | Yes | The unique identifier of the Alibaba Cloud Model Studio workspace: obtain the Workspace ID | llm-xx |
| TaskId | string | Yes | The task ID | 3f7045e099474ba28ceca1b4eb6d6e21 |
Response elements
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | The ID of the request. | F2F366D6-E9FE-1006-BB70-2C650896AAB5 |
| Success | boolean | Indicates whether the request is successful. | true |
| Code | string | The status code. | DataNotExists |
| Message | string | The error message. | success |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Data | object | The business data. | |
| FileUrl | string | The task ID. | https//xxxx |
| Status | string | The task execution status. | PENDING-pending, RUNNING-running, SUCCESSED-success, SUSPENDED-suspended, FAILED-failed, CANCELLED-cancelled |
Examples
Success response
JSON format
{
"RequestId": "F2F366D6-E9FE-1006-BB70-2C650896AAB5",
"Success": true,
"Code": "DataNotExists",
"Message": "success",
"HttpStatusCode": 200,
"Data": {
"FileUrl": "https//xxxx",
"Status": "PENDING-待执行、RUNNING-执行中、SUCCESSED-成功、SUSPENDED-暂停、FAILED-失败、CANCELLED-取消"
}
}
Error codes
Visit the Error Center to view more error codes.