Skip to navigation

Get a job

Returns a job with its events, release, and instrument-controller claims. Requires the jobs:read scope. A job that finished as failed may still hold a controller whose program stop was not confirmed; read controller_claims for the hardware outcome.

Authentication

AuthorizationBearer

A Control API token, cqk_ followed by its secret, sent as Authorization: Bearer cqk_....

Path parameters

jobIdstringRequired

Response

The job.
idstringformat: "uuid"
kindstring

experiment or workflow.

procedurestring
targetslist of strings
statusenum

The job’s operational status. succeeded means the job finished running; read scientific_success for whether its result passed acceptance.

lab_idstringformat: "uuid"
eventslist of objects
controller_claimslist of objects
attemptintegerOptional
submitted_viaenumOptional
Allowed values:
submitted_byobjectOptional
queued_atdatetimeOptional
started_atdatetime or nullOptional
finished_atdatetime or nullOptional
scientific_successboolean or nullOptional

Whether the result passed scientific acceptance; null until the job finishes or for a procedure with no scientific result.

parametersmap from strings to anyOptional
releaseobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
503
Service Unavailable Error