Tasks
Start from a task spec and stream
Start from a task spec and stream the turn.
post/task/start/stream
Request
- Base URLhttps://api.autumn.ai
- URLhttps://api.autumn.ai/task/start/stream
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body
Example request
{
"task": {
"brief": "Find 10 Series A AI security companies in the US.",
"output": {
"id": "ai-security-companies",
"kind": "research",
"path": "outputs/ai-security-companies.jsonl",
"schema": {
"company_name": "string",
"funding_stage": "string",
"source_urls": "array[string]",
"website": "string"
},
"schema_order": [
"company_name",
"website",
"funding_stage",
"source_urls"
],
"target_count": 10
}
}
}Response
Server-sent events: task, tool, text, error, done. A failure after the stream opens is an error event.
Changes
No recorded changes to this operation across all 1 revision of this API.