Lost an avatar video job id? List avatar videos instead
Sume has GET /v1/avatar-videos and GET /v1/avatar-videos/:id. How to find a render after a crash without resubmitting, and which status field to read.
If your worker crashed after submitting an avatar video and you lost the job id, do not submit again. List your avatar videos with GET /v1/avatar-videos and read one with GET /v1/avatar-videos/:id. The list returns summaries of your workspace's avatar-video jobs, so you can find the render and read its result once it finishes.
This is the recovery path the docs describe, alongside the jobs endpoints for status, events and result.
Which call for which question
Different handles answer different questions.
| You have | Call | You learn |
|---|---|---|
| A job id | GET /v1/jobs/:id/status | Whether it is terminal |
| A job id, finished | GET /v1/jobs/:id/result | Public media.sume.com video artifacts, preview_image_url, scene_previews |
| A job id, wanting a timeline | GET /v1/jobs/:id/events | Created, queued, started, completed, failed, webhook delivery |
| No id at all | GET /v1/avatar-videos | The avatar-video resources in your workspace |
| A resource id | GET /v1/avatar-videos/:id | One video resource |
A recovery routine
List, match by the script or title you remember, read, and download from the Sume URL.
curl https://api.sume.com/v1/avatar-videos \
-H "Authorization: Bearer $SUME_API_KEY"
curl https://api.sume.com/v1/avatar-videos/avatar_video_123 \
-H "Authorization: Bearer $SUME_API_KEY"Prevent it next time
- Write the job id and your own record id to storage before you do anything else with the response.
- Send an
Idempotency-Keybuilt from your own record, so a retry returns the original job. - Prefer a signed webhook for completion, with polling as the fallback.
- If you use previews, store the
avatar_video_preview_idtoo; the final render hangs off it.
What the resource gives you
A video resource is the durable record: it points at the finished artifact, so you can rebuild a page or a message from it without holding on to the original job response. If the list is long, pass limit (1 to 100) and a status filter; ready is accepted as an alias for completed jobs. If you find two near-identical entries, a retry probably double-submitted, so send an Idempotency-Key next time.
Limits
The list route shows what exists, not why a job failed; use the job events for that. Completed results are mirrored to media.sume.com, so store that URL rather than a provider link. Keep your own copy of anything you must keep, since retention is not a promise the docs make on this page.
Sources
Related posts
More in Sume Avatar 1.0
- HeyGen Avatar 3.0 singing and 177 languages vs Sume Avatar 1.0
HeyGen Avatar 3.0 adds singing and 177+ languages. Sume Avatar 1.0 renders script-driven talking video, 4 to 60 seconds. What each one covers.
- Dub with lip sync: Meta Reels option vs Sume Avatar 1.0 (English-only)
Meta offers optional lip sync on translated Reels. Sume Avatar 1.0 is English-only, so a non-English talking shot uses TTS plus a lip-sync endpoint.
- Regenerate avatar preview stills, or start a new preview?
Regenerate refreshes first-frame stills from the stored preview request. Changing script, avatar, scene or aspect ratio needs a new preview. The full rule.
- Sume Avatar API: canonical routes vs the legacy model-run aliases
Which Avatar 1.0 endpoint should a new integration call? The canonical /v1/avatar-1.0 routes, with the legacy aliases kept for compatibility. All paths listed.
Written by Sume