Retry Video Processing
POST/v1/:slug/assets/:token/retry_video_processing
The escape hatch for a video whose stream_url is stuck at null: starts an HLS encode unless one has already finished, whether the previous attempt failed, died on its way to the encoder or was never made. You do not need it for the normal path — on the plans that do not encode on upload (Free, Pro, Creative) simply reading the asset with GET /v1/{slug}/assets/{token} starts the encode, and stream_url fills in a few minutes later. Returns 422 when the encode has already finished and when the workspace cannot stream video at all. A call while an encode is under way never replaces it: it makes sure the encode is still being worked on and sends it again only if it may have been lost. Do not poll this endpoint, since each call can send the encode again. To wait for a result, poll GET /v1/{slug}/assets/{token} and watch stream_url.
Request
Responses
- 200
- 422
successful
not a video