Jobs
Job status, results, streaming, and context
📄️ Get a job by ID
Get a job by ID
📄️ Get a job by slug
Get a job by slug
📄️ Get the compute context for a completed job
Returns the gzipped compute context JSON from S3. The response is cached with a 1-year max-age.
📄️ Stream job status updates via SSE
Server-Sent Events stream that emits `init`, `update`, and `done` events. The stream closes automatically when the job completes/fails or after a 5-minute timeout.
📄️ Update job status
Used by workers to report job progress. If `result` contains `execution_cost` or `execution_time` keys, those are persisted to the job record. Timestamps `executionStartedAt` and `executionCompletedAt` are set automatically on status transitions.
📄️ Update job logs S3 path
Used by workers to report where job logs are stored in S3.
📄️ Get the compute context for a completed job (by slug)
Get the compute context for a completed job (by slug)