Responses (Task)

  • Normal response description

    Parameter

    Type

    Description

    job_id

    String

    Specifies the returned task ID after delivering the task. Users can query the task progress using this ID. For how to query the execution status of the task based on the task ID, see Task Status Management.

  • Abnormal response description

    Parameter

    Type

    Description

    error

    Object

    Specifies the returned error message when an error occurs. For details, see Table 1.

    Table 1 error field structure

    Parameter

    Type

    Description

    message

    String

    Describes the error message when an error occurs.

    code

    String

    Specifies the error code when an error occurs.

    details

    Array of objects

    Specifies error details.

    Error details provide the error code and fault description, facilitating error handling.

    This field is optional.

    Table 2 details field description

    Parameter

    Type

    Description

    message

    String

    Describes the error message when an error occurs.

    This field is optional.

    code

    String

    Specifies the error code when an error occurs.

    This field is optional.

  • Example response

    Normal response

    {
        "job_id": "70a599e0-31e7-49b7-b260-868f441e862b"
    }
    

    Abnormal response

    {
        "error": {"message": "", "code": XXX,""}
    }