Retrieve an index

GET

This method retrieves details about the specified index.

Path parameters

index-idstringRequired

Unique identifier of the index to retrieve.

Response

The specified index has successfully been retrieved.

_idstringOptional

A string representing the unique identifier of the index. It is assigned by the API when an index is created.

created_atstringOptional

A string representing the date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), that the index was created.

updated_atstringOptional

A string representing the date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), that the index has been updated.

expires_atstringOptional

A string representing the date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when your index will expire.

If you’re on the Free plan, the platform retains your index data for 90 days from creation. After this period, the platform deletes your index data, and this action cannot be undone. To continue using your index beyond this period, consider upgrading to the Developer plan, which offers unlimited index retention. For details, see the Upgrade your plan section.

If you’re on the Developer plan, this field is set to null, indicating no expiration.

index_namestringOptional

A string representing the name of the index.

total_durationdoubleOptional

A number representing the total duration, in seconds, of the videos in the index.

video_countdoubleOptional

The number of videos uploaded to this index.

modelslist of objectsOptional

An array containing the list of the video understanding models enabled for this index.

addonslist of stringsOptional

The list of the add-ons that are enabled for this index.

Errors

Built with