Skip to main content
GET
Get a task

Autorisations

Authorization
string
header
requis

Your API key, sent as Authorization: Bearer <key>.

Paramètres de chemin

id
string<uuid>
requis

The task id returned at submit time.

Réponse

The task, plus response or error once terminal.

success
boolean
requis
task
object
requis
credits
object
requis

Submit and polling envelopes preserve zero values. With billing enabled, account settlement uses the engine pricing policy; webhooks report the persisted charge. SOURCE_INFLUENCE is metered by actual usage.

response
object

The engine-specific result. Absent until the task is terminal. See the Engines guide for per-engine shapes. SOURCE_INFLUENCE (and CITATION_ATTRIBUTION alias) returns SourceInfluenceResult; see the Source Influence guide. PROMPT_RESEARCH returns PromptResearchResult; see the Prompt Research guide.

error
string

Present when task.status is FAILED. A plain string — not the {code, message, timestamp} object used by request-level errors.