Skip to main content

SubmitImportTermsTask

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 Resources is 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.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:SubmitImportTermsTasknone
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringYes

Alibaba Cloud Model Studio unique workspace identifier: For more information, see Workspace ID

llm-xx
FileKeystringYes

File FileKey

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

Dictionary name. Optional. If not specified, the default is Default.

Note For information about how to generate a FileKey, see General API - File Upload and Download GenerateUploadConfig - Generate Upload Configuration

Response parameters

NameTypeDescriptionExample value
object

Schema of Response

RequestIdstring

Id of the request

F2F366D6-E9FE-1006-BB70-2C650896AAB5
Successboolean

Indicates whether this request was successful.

true
Codestring

Status code.

DataNotExists
Messagestring

Error description.

success
HttpStatusCodeinteger

HTTP status code.

200
Dataobject

Business data.

TaskIdstring

Task ID.

3f7045e099474ba28ceca1b4eb6d6e21

Examples

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

Error codes

Visit the Error Center to view more error codes.

Change history

Change timeSummary of changesOperation
2025-11-11OpenAPI input parameters changed.View change details