Skip to main content
GET
Get job status

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Path Parameters

jobId
string
required

The ID of the job to check

Response

Job status retrieved successfully

id
string

The job ID

state
enum<string>

The current state of the job. cancelled is surfaced once the user calls POST /jobs/{jobId}/cancel; it is distinct from failed, which is reserved for unintentional errors.

Available options:
waiting,
active,
completed,
failed,
delayed,
prioritized,
waiting-children,
cancelled
progress

Job progress (0-100 or custom object)

result
object | null

The job result when completed (e.g., sessionResults, inferenceResultIds, failedTestCaseIds)

error
string | null

Error message if the job failed