Submit an asynchronous research Agent run.
post_exa_agent_runsHand a research task to an agent that works in the background. query and an Idempotency-Key are required; effort trades depth against time, outputSchema shapes the result, dataSources restricts where it looks, and previousRunId continues an earlier run. Asynchronous. Submitting returns HTTP 202 and a job envelope — id, object, endpoint, status, createdAt, completedAt, pricing, output, error — with output still null. Poll get_exa_agent_run until terminal; output then carries text, structured and grounding. A one-sentence question completed in well under a minute. Billed a flat $0.10 per run — pricing.billingMode is fixed_request, so unlike a Firecrawl crawl the price does not grow with what it finds. Use it when a report is the deliverable. For an answer you read in one sitting, post_exa_answer returns in about two seconds. Send a fresh Idempotency-Key per distinct task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Row-processing input: rows to process and exclusions. | |
| query | Yes | The natural-language research query. | |
| effort | No | Compute/depth tier for the run. | |
| dataSources | No | Third-party data sources (Exa Connect) the Agent is granted access to. | |
| outputSchema | No | JSON Schema used to validate the structured output. | |
| previousRunId | No | Continue from a previously completed run. | |
| Idempotency-Key | Yes | Unique key (1 to 191 characters) that makes the submit idempotent. Re-submitting with the same key and request fingerprint returns the original run. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||