Skip to main content
GET
Check the status of a batch classification job. Returns per-video results as they complete.
Prefer webhooks for batches. Subscribe to batch.completed for the finished batch, and opt into batch.progress to track it as it runs — a 50-video batch is otherwise several minutes of silence. See Webhooks.
string
required
The batch_id returned by Create Batch.
integer
default:"0"
Seconds to hold the request open until every video in the batch has finished. 0 (the default) returns immediately. Maximum 90.A batch can outlast the maximum wait. A timed-out wait is not an error — you get the current state and can call again immediately. Set your client timeout above this value.
Batch status is recomputed from every job row on each request, which makes this the most expensive endpoint to poll blindly. A 50-video batch takes minutes; checking it every 3 seconds does that work hundreds of times to return the same answer. Use wait, or use webhooks.

Response (200 OK)

string
Batch identifier.
string
Batch-level status:
  • processing — Some videos still in progress
  • completed — All videos finished successfully
  • partial — All done, but some failed
  • failed — All videos failed
integer
Total number of videos in the batch.
integer
Number of successfully completed videos.
integer
Number of failed videos.
integer
Total credits charged (pre-authorized at submission).
object[]
Per-video results. Each job includes job_id, video_url, status, credits_charged, results (when completed), and error (when failed).