Fetch Video Batch
Retrieve every video of a batch at once using the batch ID returned by the Video Batch API.
Request
Send aPOST request to below endpoint to return every request of a batch. Where {id} is the batch_id returned by the Video Batch endpoint. This endpoint does not generate new video, it reports the current state of the batch.
Body
Response
status is processing while any request is still running, success once every request has succeeded, and failed once every request has failed. output collects every finished video across the batch, in request order, so it grows as videos land. Each entry in results is the same body the single Fetch Video endpoint returns for that request, plus its index and track_id.
refunded: true when its charge was reversed, which is the case for every request the 8-minute batch timeout fails.
An unknown batch_id, or one that belongs to another account, answers:
Path Parameters
The batch_id returned by POST /video/batch
Body
Your API Key used for request authorization
Response
Batch status. An unknown batch id answers status failed with message "Batch not found".
Keyed like a single video response (status, id, output, message, tip) with the batch fields on top
processing on submit and while any request is still running; success once all succeeded; failed once all failed
processing, success, failed The batch id. Same value as batch_id; drawn from the same counter as video ids so the two never collide
Every finished video across the batch in request order; empty on submit
On submit: the URL every request will publish to, in request order
On submit: URL to poll the whole batch
On submit: the largest per-request estimate, in seconds
On submit: the envelope inputs (model_id, track_id, webhook)
On submit: requests not finished by then are failed and refunded
On submit: fraction taken off every request's single-request price

