Poll an async API job created by endpoints like POST /chat/completions.
Use the job id returned by a 202 Accepted response to check whether the job is still pending or has reached a terminal state.
Documentation Index
Fetch the complete documentation index at: https://docs.gc.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Format: gcai_xxxxxxxxx
Create API keys in the GC AI app under Settings → Organization → API Keys.
The async job ID
Optional long-poll wait time in seconds. Use 0 for fire-and-forget behavior. If both wait and Prefer: wait=... are supplied, they must match. Values above 90 are clamped.
x >= 00
Job found and currently in a terminal state
Async job identifier
Stable job kind for this endpoint
chat/completions Current job status
pending, running, succeeded, failed, canceled Completion payload when the job has succeeded
Failure payload when the job has failed
ISO 8601 creation timestamp
ISO 8601 completion timestamp, or null when not terminal