Get a background-removal job
Poll a background-removal job for status and, once completed, the transparent PNG.
pending or
processing, keep polling; once completed, the response carries a single image
result object — a transparent PNG with a presigned url valid for 24 hours. A
cache-hit job is born completed with its result already attached. Only jobs your
organization created are visible; any other id returns
404 not_found. Requires the images.transform scope.
Example: completed job
Theimage is a derived-format result object; for background removal model,
width, and height are always null. This example is a cache hit, so
credits_used is 0 (a normal miss shows 1):
Authorizations
Organization API key as a bearer token: Authorization: Bearer samsa_sk_....
Path Parameters
Response
Successful Response
GET /images/background-removals/{id} body (SAM-820 / S8.8 — ADR §7.2).
The standard async-job envelope plus ONE nullable image result object (an
image_formats derivative — a transparent PNG — built by the S8.2 egress
builder; model/width/height are always null for background removal).
created_at is the job's submit time from the credit ledger (the
image_generation_tasks table has no created_at column). A cache-hit job is
born completed with a frozen result; a normal job progresses
pending → processing → completed/failed.
pending, processing, completed, failed, or cancelled.
pending, processing, completed, failed, cancelled "completed"
When the job was submitted.
Net credits charged for this job, after any refunds (0 for a cache hit).
1
The produced transparent PNG (presigned URL); null until completed.
Failure detail when status is failed; otherwise null.

