Récupérer un job de vectorisation
Interroge un job de vectorisation pour son statut et, une fois terminé, le SVG produit.
pending ou
processing, continue d’interroger ; une fois completed, la réponse porte un seul
objet résultat svg (image/svg+xml) avec une presigned url valable
24 heures. Un job en hit de cache naît completed avec son résultat déjà
attaché. Seuls les jobs créés par ton organisation sont visibles ; tout autre id
renvoie 404 not_found. Requiert le scope
images.transform.
403 svg_phase1_scope_out_required.Exemple : job terminé
Lesvg est un objet résultat de vectorisation ; son mime_type est toujours
image/svg+xml :
Autorisations
Organization API key as a bearer token: Authorization: Bearer samsa_sk_....
Paramètres de chemin
Réponse
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.

