Skip to content

Task List ​

Base URL: https://api.dajiaoai.com

See Authentication and Overview before calling this endpoint.

  • Method: GET
  • Path: /api/agent/tasks

Query parameters ​

ParameterTypeRequiredDefaultDescription
pagenumberno1Page number, starting from 1.
pageSizenumberno20Items per page, maximum 100.
statusstringno-Optional: created, running, finished, error.

Example request ​

bash
curl "https://api.dajiaoai.com/api/agent/tasks?page=1&pageSize=20&status=finished" \
  -H "Authorization: Bearer djo_xxx"

Success response ​

json
{
  "success": true,
  "items": [
    {
      "taskId": "6844db73f1d0c0e74f5e9d01",
      "customerId": "6844db10f1d0c0e74f5e9cff",
      "applicationId": "6844db40f1d0c0e74f5e9d00",
      "apiKeyId": "6844db50f1d0c0e74f5e9d02",
      "type": "agent",
      "content": "Draw a triangle.",
      "imgUrl": null,
      "imgUrls": null,
      "status": "finished",
      "artifactUrl": "https://dl.easeplay.vip/dajiao-open/dev/mcp/.../result.algeo",
      "createdAt": "2026-06-08T10:00:00.000Z",
      "updatedAt": "2026-06-08T10:00:05.000Z"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 1,
  "hasMore": false
}

See Task Detail for status definitions, polling guidance, and artifact details.