Retrieve video information
This method retrieves information about the specified video.
Important
When retrieving video embeddings, the response includes breaking changes that might require updates to your application code. Key differences:
- The
video_embeddings
field has been renamed tovideo_embedding
(plural to singular) - The embedding vectors are now nested under an array named
segments
.
Path parameters
The unique identifier of the index to which the video has been uploaded.
The unique identifier of the video to retrieve.
Headers
Query parameters
Set this parameter to true
to retrieve the video embedding in the response. The video must be indexed with the Marengo video understanding engine version 2.6 or later. For details on enabling this engine for an index, see the Create an index page.
Default: false
.
Response
The specified video information has successfully been retrieved.
The unique identifier of the video.
A string indicating the date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), that the video indexing task was created.
A string indicating the date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), that the corresponding video indexing task was last updated. The platform updates this field every time the corresponding video indexing task transitions to a different state.
A string indicating the date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), that the video indexing task has been completed.
An object that contains system-generated metadata about the video, such as duration, width, height, etc.
An object that contains user-defined metadata for categorizing and organizing videos. The platform returns this field only when the video has user-defined metadata that you’ve set using the metadata
parameter of the PUT
method.
The platform returns this object only for the videos that you uploaded with the disable_video_stream
parameter set to false
.
Contains the embedding and the associated information. The platform returns this field when the embed
query parameter is set to true
in the request.