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.
GET: /v2.0/cloud/agent/chat/oem/data-export/tasks/{task_id}
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| task_id | String | path | true | The task ID. |
| Parameter name | Type | Description |
|---|---|---|
| result | DataExportTaskInfoResponse | The returned result. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| state | String | The task status:
|
| file_list | List | The list of files. |
Description of file_list
| Parameter name | Type | Description |
|---|---|---|
| file_name | String | The file name. |
| url | String | The file download address. |
GET: /v2.0/cloud/agent/chat/oem/data-export/tasks/****
{
"result": {
"file_list": [
{
"file_name": "file_name1",
"url": "https://*****x"
},
{
"file_name": "file_name2",
"url": "https://*****y"
}
],
"state": "success"
},
"t": 1634712780719,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback