Skip to main content

Request Video Moments Api

POST 

/v2/videos/{video_id}/moments/request

Request Moments for a processed video. Credits are charged once per video.

Moments are not computed for a video until they are requested here. The video must be completed (409 otherwise). A successful request charges the credits once, queues the computation and returns the same body as GET /v2/videos/{video_id}/moments (status: computing, then ready as that call is polled).

Requesting is idempotent: when Moments was already requested for the video, this returns 200 with the current moments and charges nothing. Moments stay with the video through edits, trimming and reprocessing; recomputing them after such changes is free.

With too few credits the call answers 402 and nothing is requested. Credits are charged once per video, whatever the number of attempts. If a call fails with a server error after the charge, repeat it: it completes the request and charges nothing more. A second request for the same video made while the first is still being processed answers 409; retry it.

Requires the same access as the video's other charged analyses (the owner or a member allowed to write) and, for a delegated app, the media.write scope.

Request​

Responses​

Successful Response