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.