Skip to main content
GET
Retrieve a vectorization job's status and result
Retrieve the status of a vectorization job. While it is pending or processing, keep polling; once completed, the response carries a single svg result object (image/svg+xml) 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.
The delivered SVG is an EU AI Act Art. 50(2) scope-out — unsigned and unwatermarked. Delivery is revalidated against the server-verified ToS/AUP acceptance on read; a missing or stale acceptance returns 403 svg_phase1_scope_out_required.

Example: completed job

The svg is a vectorization result object; its mime_type is always image/svg+xml:
200 OK
Pass a webhook_url on the original vectorization request to receive a signed callback instead of polling — on a cache hit the completed event fires immediately. See Webhooks.

Authorizations

Authorization
string
header
required

Organization API key as a bearer token: Authorization: Bearer samsa_sk_....

Path Parameters

vectorization_id
string<uuid>
required

Response

Successful Response

GET /images/vectorizations/{id} body (SAM-821 / S8.9 — ADR §7.2).

The standard async-job envelope plus ONE nullable svg result object (an image_formats SVG derivative built by the S8.2 egress builder via its vectorize/SVG deferred-audit path). 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.

id
string<uuid>
required
status
enum<string>
required

pending, processing, completed, failed, or cancelled.

Available options:
pending,
processing,
completed,
failed,
cancelled
Example:

"completed"

created_at
string<date-time>
required

When the job was submitted.

credits_used
integer | null

Net credits charged for this job, after any refunds (0 for a cache hit).

Example:

5

svg
PublicSvgFormatResult · object | null

The produced SVG (image/svg+xml, presigned URL); null until completed.

error
string | null

Failure detail when status is failed; otherwise null.