The job pipeline and storage
Jobs, credit reservation, progress events, signed downloads and retention.
Everything is a job
Any generation or processing task is a job with one model. Clients start a job, watch its progress and may leave and return. Live
Lifecycle
| State | Meaning |
|---|---|
| queued | Accepted, credits reserved, waiting for a worker. |
| running | A worker holds the job and publishes stages. |
| succeeded | Output stored; credits captured. |
| failed | Credits released and the reason is recorded. |
| cancelled | Released on request. |
Credits are reserved when the job is created, captured on success and released on failure or cancellation. Live A job-creating call that carries an idempotency key can be retried safely without creating a second job.
Progress
Job events are available over Server-Sent Events and over WebSocket, and a client that reconnects can resume from the last event. Live Webhooks are described in Webhooks.
Storage
Uploads and outputs live in object storage. Uploads are direct to storage through signed multipart URLs, and downloads are issued as short-lived signed links, so large files never pass through the API servers. In development
Retention
Retention is set per asset class and is administrator-configurable. By default, source uploads are removed after 24 hours and temporary assets after 7 days, by a scheduled sweep. Live Payment records are retained as the law requires. See the data retention schedule.
See the request flow on the Architecture page.
Statements and their status
Each labelled statement in this article, with what it rests on.
- Live Long work runs as background jobs with status, events and cancel endpoints. Evidence: a live endpoint, checked 2026-12-01.
- Live When a job fails or is cancelled, the credits reserved for it are released. Evidence: a production metric, checked 2026-12-01.
- In development Uploads go direct to object storage through signed multipart URLs and downloads are short-lived signed links (endpoints deployed; the object store itself is currently on its local-disk fallback). Evidence: a live endpoint, checked 2026-12-01.
- Live A data retention policy is published. Evidence: a live endpoint, checked 2026-12-01.