Query Task Status

Last Updated on : 2026-03-31 02:15:28Copy for LLMView as MarkdownDownload PDF

Subscribers query the status of a specified data export task to determine whether the download link is ready.

API address

GET: /v1.0/cloud/agent/chat/oem/data-export/tasks/{task_id}

Request parameter

Parameter nameTypeINRequiredDescription
task_idStringpathtrueThe ID of a specified task.

Return parameter

Parameter nameTypeDescription
resultDataExportTaskStatusResponseThe returned result.

Description of result

Parameter nameTypeDescription
stateStringThe status of a specified task. Valid values:
  • data not exist: Data for the current date is empty.
  • processing: The task is being processed.
  • success: The task is processed successfully.
urlStringThe download URL of a specified .zip file.

Request example

GET: /v1.0/cloud/agent/chat/oem/data-export/tasks/****

Return example

{
    "result": {
        "url": "https://*****",
        "state": "success"
    },
    "t": 1634712780719,
    "success": true
}

Error code

For more information, see error code.