Request Video Moments Api
Changed onRequest 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
- Base URLhttps://api.imentiv.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- or OAuth 2Authorization code: https://api.imentiv.ai/oauth/authorizeToken URL: https://api.imentiv.ai/oauth/token scopes: media.write
Path parameters
The unique video ID of the video to request moments for
Response
Successful Response
Changes
- info
endpoint added
- info