Create task run
DEPRECATED — alias of POST /v1/task. Use that endpoint instead; this route remains only for back-compat.
DEPRECATED — alias of POST /v1/task. Use that endpoint instead; this route remains only for back-compat.
The natural-language objective.
Output spec — either the new {type, json_schema?, description?} object, or a bare JSON Schema (legacy) which is treated as {type:‘json’, json_schema:{name:‘output’, schema:<arg>}}.
Processor tier. base=haiku/no-thinking/≤3 tools, core=sonnet/adaptive/≤8 (default), ultra=opus/xhigh/≤15, research=agentic deep-research engine (planner + grader + per-finding + final synth).
Research tier only: caps the planner’s sub-query count. Default 8.
Research tier only: global cap on pages fetched across all sub-queries. Default 18.
Free-form user metadata, echoed in webhooks/polls.
If set, the completed (or failed) run is POSTed here.
Opaque task identifier (alias of run_id).
Opaque run identifier (alias of task_id).
The objective verbatim (alias of task).
Processor tier used: base | core | ultra.
Free-form user metadata, echoed back.
Output field names, derived from output_schema.
The answer once completed. For type=json, the parsed JSON object. For text/auto, the string. Null until completed.
Per-field citation basis (empty until completed).
Usage stats: tool_calls, search_queries, pages_fetched, tokens.
The agent’s answer text (empty until completed).
Sample of source URLs the agent read (empty until done).
Source URLs read in full (empty until completed).
Source URLs considered (empty until completed).
ISO-8601 creation timestamp.
ISO-8601 completion timestamp.
Long-form markdown research report with inline [N] citations. Only present for research-tier runs.
Per-sub_query findings ({subquery, answer, citations, confidence, evidence}). Research-tier only.
Numbered sources list ({index, url, title, domain, fetched, quality, first_seen_subquery}). Research-tier only.