Récupérer une génération de vidéo
Interroge un job de génération de vidéo pour connaître son statut et, une fois terminé, la vidéo produite.
pending ou
processing, continue d’interroger ; une fois completed, la réponse porte la
vidéo produite avec une url presigned valable 24 heures. Seuls les jobs créés
par ton organisation sont visibles ; tout autre id renvoie
404 not_found.
Autorisations
Organization API key as a bearer token: Authorization: Bearer samsa_sk_....
Paramètres de chemin
Réponse
Successful Response
GET /videos/generations/{id} body (ADR §7.2).
created_at comes from the immutable credit-ledger row (the durable public
submit record) and credits_used is that row's charge NET of any refund for
the same job (SAM-1028); mode prefers the same source because the worker's
completion path rewrites video_jobs.metadata.
pending, processing, completed, failed, or cancelled.
pending, processing, completed, failed, cancelled "completed"
When the job was submitted.
image_to_video, text_to_video, or text_to_video_styled.
"image_to_video"
Net credits charged for this job, after any refunds.
80
The produced video (presigned URL); null until completed.
Failure detail when status is failed; otherwise null.

