Jobs

Submit a job for execution

Moves a job from created to queued and enqueues a runner for it. Only a job in created may be submitted, so a failed or cancelled job can never be resubmitted. Upload the context archive first if you created the job with context_bytes.

post/jobs/{id}/submit

Request

  • Base URL: https://api.latchkey.dev
  • URL: https://api.latchkey.dev/jobs/{id}/submit
  • Auth: HTTP bearer

Response

Job queued.

job_idstring required

Identifier of the submitted job.

state'created' | 'queued' | 'provisioning' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'expired' required

Job lifecycle state. succeeded, failed, cancelled and expired are terminal.

context_presentboolean nullable

Whether a context archive was found for this job.

Changes

No recorded changes to this operation across all 1 revision of this API.