Tasks
Get task status
Status, spec and the last 100 events. Use wait=1-50 to long-poll; GET /task/{task_id}/state is cheaper.
get/task/{task_id}
Request
- Base URLhttps://api.autumn.ai
- URLhttps://api.autumn.ai/task/{task_id}
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
task_idstring required
The task_id returned by POST /task or POST /task/start.
Example:8fab6f34
Query parameters
waitinteger
Wait up to 50 seconds for the first status version change (values are clamped to 0-50).
Response
Status, spec and recent events.
Example response
{
"task_id": "8fab6f34",
"name": "Series A AI security companies",
"status": "execute",
"phase": "execute",
"activity": "executing",
"output_count": 10,
"poll_after_s": 5,
"status_url": "/task/8fab6f34/state",
"task_url": "/task/8fab6f34",
"output_url": "/task/8fab6f34/output",
"stream_url": "/task/8fab6f34/stream",
"queue": {
"position": 3,
"eta_s": 240
}
}Changes
No recorded changes to this operation across all 1 revision of this API.