Retrieve an image generation's status and results
Image Generation
Get an image generation
Poll an image-generation job for status and, once completed, the produced images.
GET
Retrieve an image generation's status and results
Retrieve the status of a generation job. While it is
pending or processing,
keep polling; once completed, the response carries the produced images, each with
a presigned url valid for 24 hours — download the assets before they expire.
Only jobs your organization created are visible; any other id returns
404 not_found.
Authorizations
Organization API key as a bearer token: Authorization: Bearer samsa_sk_....
Headers
Path Parameters
Response
Successful Response
GET /images/generations/{id} body (ADR §7.2).
created_at is the job's submit time, sourced from the credit ledger — the
image_generation_tasks table has no created_at column.
pending, processing, completed, failed, or cancelled.
Available options:
pending, processing, completed, failed, cancelled Example:
"completed"
When the job was submitted.
Credits charged for this job.
Example:
5
Produced images (presigned URLs); empty until completed.
Failure detail when status is failed; otherwise null.

