Retrieve an image edit's status and results
Image Editing
Get an image edit
Poll a Magic Edit job for status and, once completed, the edited images.
GET
Retrieve an image edit's status and results
Retrieve the status of a Magic Edit job. While it is
pending or processing,
keep polling; once completed, the response carries the edited images, each with a
presigned url valid for 24 hours. Only edit 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/edits/{id} body — same contract as image generation.
Both are backed by image_generation_tasks; a distinct name for the docs.
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.

