Create an indexed asset
Changed onThis method indexes an uploaded asset to make it searchable and analyzable. Indexing processes your content and extracts information that enables the platform to search and analyze your videos.
This operation is asynchronous. The platform returns an indexed asset ID immediately and processes your content in the background. Monitor the indexing status to know when your content is ready to use.
<Note title="Adding videos to existing indexes"> You can no longer add videos to an index that has only Pegasus 1.2 enabled. When you add videos to an index that has both Marengo and Pegasus 1.2 enabled, the platform indexes them with Marengo only. </Note>Your asset must meet the requirements based on your workflow:
- Search: Marengo requirements
- Video analysis: Pegasus requirements.
If you want to both search and analyze your videos, the most restrictive requirements apply.
Indexes have limits on video hours and video count. For details, see the Video hours and video count limits section.
<Note title="Note"> This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page. </Note>Request
- Base URL: https://api.twelvelabs.io/v1.3
- URL: https://api.twelvelabs.io/v1.3/indexes/{index-id}/indexed-assets
- Auth: API key in header x-api-key
Path parameters
The unique identifier of the index to which the asset will be indexed.
Request body
Response
The indexing request has been accepted and is processing.
Changes
- info
added the non-success response with the status
- info
- warning
deleted the
headerrequest parameterx-api-key - info
the endpoint scheme security
x-api-keywas added to the API
- warning