Skip to main content

Get export status

Query the export task status and download link. Downloadable only when export_status is success and link is non-null.

Prerequisites

Configure the endpoint and authentication first. See API overview and authentication.

Endpoint

GET /export_status Query the export task status and download link. Downloadable only when export_status is success and link is non-null.

Request parameters

ParameterRequiredTypeDescription
export_idYesintegerExport task ID, from the export alerts response

Request example

curl -X GET "$BASE_URL/export_status?export_id=131231" \
  -H "Authorization: Bearer $BAILIAN_API_KEY"
BASE_URL is https://{workspace_id}.cn-beijing.maas.aliyuncs.com/api/v1/agentstudio/security, and BAILIAN_API_KEY is your Alibaba Cloud Bailian API Key.

Response body

FieldTypeDescription
export_statusstringinit / exporting / success. Downloadable only when success and link is non-null
progressintegerExport progress percentage, 0-100
current_countintegerNumber of records exported so far
total_countintegerTotal number of records in the export task
linkstringExcel download link, null when the task is incomplete or failed
messagestringResult message, fixed to success on completion

Response example

{
  "success": true,
  "data": {
    "export_status": "exporting",
    "progress": 20,
    "current_count": 20,
    "total_count": 100,
    "link": null,
    "message": null
  }
}
Managed Agent API
Flow Agent API
Sandbox API
RAG API
Long-term Memory
ParseX API
Framework Integration