Get Async Job Status
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.
Authorizations
API key for authentication. Format: gcai_xxxxxxxxx
Create API keys in the GC AI app under Settings → API.
Headers
Optional RFC 7240 wait preference, for example wait=0. If both this header and the wait query parameter are supplied, they must match.
"wait=0"
Path Parameters
The async job ID
Query Parameters
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
Response
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