Skip to main content
Pick the way in that matches where you’re working: One POST starts a cloud agent that does the research. You keep the task_id, wait while it works, then read finished rows. One host, and every route is in the spec:

1. Get an API key

Create an API key in Settings → Developer at platform.autumn.ai, then put it in your environment:
Every request sends it as X-API-Key (or Authorization: Bearer).

2. Start a task

The response is your handle on the task:
Store task_id. It stays valid after the run finishes.

3. Wait for a status change

wait=50 waits up to 50 seconds for a status change. Repeat the request until done is true; input-required is done for the current turn and its question is in message. See Task lifecycle for the state table. Prefer status events over polling? See Live messages.

4. Read the rows

Each field arrives as a cell, {"value": ..., "source_id": ...}, so every value carries the source behind it. Flatten to plain values when you just want the data, and keep the cells when you need provenance. For CSV, request GET /task/{task_id}/output?format=csv&limit=100; the response contains the current page and sends X-Next-Cursor when more rows remain. See Outputs.

5. Continue instead of restarting

The task_id is durable. To refine or extend results, send the same task new instructions rather than starting over:
If the task is running, the continue is queued and the response is 202 with state: "submitted" and queue_position.

What a task can do

  • Data extraction: scrape sites and collect structured rows with sources
  • Enrichment: fill in people, companies, jobs, contacts, filings
  • Multi-step research: search across many sources, compare, and summarize
  • List building: find N entities that match criteria, with per-row evidence
  • Continuation: refine, expand, or fix a previous task without starting over

Next

Structured output

Declare the exact columns you want back.

Live messages

Stream events as the agent works.

Follow-up tasks

Continue the same task with new instructions.

Task API

Every route, field, and response shape.