Recuperare un job di upscale
Interroga un job di upscale per lo stato e, una volta completato, l’immagine prodotta.
pending o processing, continua a
interrogare; una volta completed, la risposta include un singolo oggetto risultato
image con un presigned url valido per 24 ore. Sono visibili solo i job creati
dalla tua organizzazione; qualsiasi altro id restituisce
404 not_found. Richiede lo scope images.transform.
Esempio: job completato
L’upscale restituisce unaimage — un oggetto risultato di formato derivato (non
l’array images usato dalla generazione), con una propria id stabile, la
source_image_id da cui deriva, il model che l’ha prodotta e una
resolution_class:
Autorizzazioni
Organization API key as a bearer token: Authorization: Bearer samsa_sk_....
Parametri del percorso
Risposta
Successful Response
GET /images/upscales/{id} body (SAM-819 / S8.7 — ADR §7.2).
The standard async-job envelope plus ONE nullable image result object (an
image_formats derivative, built by the S8.2 egress builder). created_at
is the job's submit time from the credit ledger (the image_generation_tasks
table has no created_at column).
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.
10
The produced upscale (presigned URL); null until completed.
Failure detail when status is failed; otherwise null.

