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.