Updated on 2024-08-09 GMT+08:00

Task ID Response

Normal Response

Table 1 Normal response

Parameter

Type

Description

job_id

String

Specifies the task ID after a task command is issued. The task ID can be used to query the execution status of the task.

For details about how to query the task execution status based on job_id, see Querying Task Statuses.

Abnormal Response

Table 2 Abnormal response

Parameter

Type

Description

error

Dictionary data structure

Specifies the error returned when a task submission encounters an exception. For details, see Table 3.

Table 3 error data structure

Parameter

Type

Description

message

String

Specifies the error message.

code

String

Specifies the error code.

Example Response

  • Normal response
    1
    2
    3
    { 
        "job_id": "70a599e0-31e7-49b7-b260-868f441e862b" 
    } 
    
  • Abnormal response
    1
    2
    3
    { 
        "error": {"message": "", "code": XXX}
    }