Tasks
Start a task
Start a task from a prompt. Returns at once: store task_id, then stream or poll. Pass task_id to send the prompt to an existing task (202 while it queues).
post/task
Request
- Base URLhttps://api.autumn.ai
- URLhttps://api.autumn.ai/task
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body
Example request
{
"prompt": "Find 10 Series A AI security companies and return name, website, funding stage, and source URLs."
}Response
Task accepted. Store task_id.
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.