Skip to main content

FetchImportTermsTask

Retrieves the result of a term import task.

Try it now

You can run this API directly in OpenAPI Explorer, sparing you the trouble of 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. 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:
  • 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 are as follows:
    • 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: The other permissions required to successfully perform the action. The caller must have the permissions of all dependent actions before the action can succeed.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:FetchImportTermsTasknone
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample
WorkspaceIdstringYes

The unique identifier of the Alibaba Cloud Model Studio workspace. For more information, see Workspace ID.

llm-xx
TaskIdstringYes

The FileKey of the file.

oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx

Response elements

NameTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

F2F366D6-E9FE-1006-BB70-2C650896AAB5
Successboolean

Indicates whether the request was successful.

true
Codestring

The status code.

DataNotExists
Messagestring

The error message.

success
HttpStatusCodeinteger

The HTTP status code.

200
Dataobject

The business data.

Statusstring

The execution status of the task.

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": {
    "Status": "PENDING-Pending, RUNNING-Running, SUCCESSED-Success, SUSPENDED-Suspended, FAILED-Failed, CANCELLED-Cancelled"
  }
}

Error codes

Visit the Error Center to view more error codes.