Query the Sharding of Data Export Task

Last Updated on : 2026-05-15 09:31:09Copy for LLMView as MarkdownDownload PDF

Query the list of session data export task status and shard download address. When the task status is success, the response parameters include a list of data shard download addresses.

API address

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

Request parameter

Parameter nameTypeINRequiredDescription
task_idStringpathtrueThe task ID.

Return parameter

Parameter nameTypeDescription
resultDataExportTaskInfoResponseThe returned result.

Description of result

Parameter nameTypeDescription
stateStringThe task status:
  • data not exist: Data for the current date is empty.
  • processing: The task is being processed.
  • success: The task is processed successfully.
file_listListThe list of files.

Description of file_list

Parameter nameTypeDescription
file_nameStringThe file name.
urlStringThe file download address.

Request example

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

Return example

{
    "result": {
        "file_list": [
            {
                "file_name": "file_name1",
                "url": "https://*****x"
            },
            {
                "file_name": "file_name2",
                "url": "https://*****y"
            }
        ],
        "state": "success"
    },
    "t": 1634712780719,
    "success": true
}

Error code

For more information, see error code.