indexes

This method creates an index.

post/indexes

Request

  • Base URL: https://api.twelvelabs.io/v1.3
  • URL: https://api.twelvelabs.io/v1.3/indexes
  • Auth: API key in header x-api-key

Request body

index_namestring required

The name of the index. Make sure you use a succinct and descriptive name.

addonsstring[]

An array specifying which add-ons should be enabled. Each entry in the array is an addon, and the following values are supported:

  • thumbnail: Enables thumbnail generation.

If you don't provide this parameter, no add-ons will be enabled.

<Note title="Notes"> - You can only enable addons when using the Marengo video understanding model. - You cannot disable an add-on once the index has been created. </Note>

Response

An index has successfully been created

_idstring

Represents the unique identifier of the index object.

Changes