Skip to main content
GET
Get job status
You are reading the docs of Galtea 5.12. Read this page in the latest version.

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. unknown is what the queue answers when it cannot classify the job, for example one removed mid-call.

Available options:
waiting,
active,
completed,
failed,
delayed,
prioritized,
waiting-children,
cancelled,
unknown
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