Skip to main content
GET
Get a task

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

id
string<uuid>
obrigatório

The task id returned at submit time.

Resposta

The task, plus response or error once terminal.

success
boolean
obrigatório
task
object
obrigatório
credits
object
obrigatório

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.