This method retrieves information about an indexed asset, including its status, metadata, and optional embeddings or transcription.
Use this method to:
Monitor the indexing progress:
status field until it shows readyRetrieve the asset metadata:
Retrieve the embeddings:
embeddingOption parameter to retrieve video embeddingsRetrieve transcriptions:
transcription parameter to true to retrieve spoken words from your videoA string indicating the date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), that the indexing task was created.
Contains the embedding and the associated information. The platform returns this field when the embedding_option parameter is specified in the request.
The platform returns this object only for the videos that you uploaded with the enable_video_stream parameter set to true.
A string indicating the date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), that the indexing task has been completed.
System-generated metadata about the indexed asset.
An array of objects that contains the transcription. For each time range for which the platform finds spoken words, it returns an object that contains the fields below. If the platform doesn’t find any spoken words, the data field is set to null.
A string indicating the date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), that the indexing task was last updated. The platform updates this field every time the indexing task transitions to a different state.
User-defined metadata for this indexed asset.
Your API key.
You can find your API key on the API Keys page.
Specifies which types of embeddings to retrieve. Values: visual, audio, transcription. For details, see the Embedding options section.
To retrieve embeddings for a video, it must be indexed using the Marengo video understanding model. For details on enabling this model for an index, see the Create an index page.