Recuperare un job di vettorizzazione
Interroga un job di vettorizzazione per lo stato e, una volta completato, l’SVG prodotto.
pending o processing,
continua a interrogare; una volta completed, la risposta include un singolo oggetto
risultato svg (image/svg+xml) con un presigned url valido per 24 ore. Un
job in cache hit nasce completed con il suo risultato già allegato. Sono visibili
solo i job creati dalla tua organizzazione; qualsiasi altro id restituisce
404 not_found. Richiede lo scope images.transform.
403 svg_phase1_scope_out_required.Esempio: job completato
L’svg è un oggetto risultato di vettorizzazione; il suo mime_type è sempre
image/svg+xml:
Autorizzazioni
Organization API key as a bearer token: Authorization: Bearer samsa_sk_....
Parametri del percorso
Risposta
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.
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).
5
The produced SVG (image/svg+xml, presigned URL); null until completed.
Failure detail when status is failed; otherwise null.

