Skip to main content
GET
Get a task

授权

Authorization
string
header
必填

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

路径参数

id
string<uuid>
必填

The task id returned at submit time.

响应

The task, plus response or error once terminal.

success
boolean
必填
task
object
必填
credits
object
必填

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.