Tasks
Stop a task
Stop the current turn. Saved queued messages continue after it stops. Outputs stay readable.
post/task/{task_id}/stop
Request
- Base URLhttps://api.autumn.ai
- URLhttps://api.autumn.ai/task/{task_id}/stop
- 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
Response
Stop signal accepted for the current turn.
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.