Skip to main content
GET
Get Job

Authorizations

Authorization
string
header
required

Primary scheme: Authorization: Key <key_id>:<secret>.

Path Parameters

job_id
string
required

Response

Successful Response

job_id
string
required
model
string
required
status
enum<string>
required

The four states a job can be in.

Available options:
IN_QUEUE,
IN_PROGRESS,
COMPLETED,
FAILED
quality
string | null

The quality level this job ran at; present only for models that offer quality levels.

prompt
string | null

The prompt this job ran with. When enhance_prompt was set, this is the rewritten prompt the model received rather than the one submitted. Absent on models that take no prompt.

outputs
OutputItem · object[]
metrics
Metrics · object | null

Timing for this job; present on completed jobs only.

error
ErrorEnvelope · object | null
logs
JobLogItem · object[] | null

The most recent lifecycle events for this job, oldest first. Capped; GET /v3/jobs/{job_id}/logs serves the full paginated history. Absent from webhook payloads.

cost
number | null

Net cost of this job; 0 when fully refunded; absent until charged. Absent from webhook payloads.

currency
string | null

ISO-4217 currency code for cost. Present exactly when cost is.