/t/ answers 202 and returns a statusUrl. Poll that URL until the status is completed, then request the /t/ URL again to get the bytes.
Check status
Path parameters
string
required
The same transformation segment as the
/t/ URL you are waiting on.w_640 · w_1280,h_720,c_fillstring
required
Storage path of the video file.
videos/clip.mp4 · clip.mp4Response
While a job exists. Note thatcompletedAt and error are absent here rather than null:
string
One of
pending · processing · completed · error · cancelled, or
not_found on the 404 response.number
Processing progress from 0 to 100.
0 when the job has not started.string
ISO 8601 timestamp when processing started. The key is omitted while the job
is still queued.
string
ISO 8601 timestamp when processing finished. The key is omitted until then.
string
Error message when
status is error. The key is omitted otherwise.Absent values are omitted from the JSON rather than sent as
null. Test with
"startedAt" in response, not response.startedAt !== null. This endpoint
returns ISO 8601 strings; Queue Jobs serves raw
database rows and returns the same instants as epoch milliseconds.Example
Get optimized video size
404 if that variant is not ready yet.
Auth: Public (rate limited)
Response
number
Optimized video size in bytes.
string
Always
"ready" when the endpoint returns 200.200 ready · 404 not yet processed
Example
Related
Queue Events (SSE)
Real-time updates without polling.
Queue Jobs
Manage jobs by ID.
Transform Media
Apply transformations to videos.