Twelve Labs icon

Twelve Labs

Interact with Twelve Labs API for video understanding

Video → List

AI-generated

Summary

List all videos contained in a specified index within the Twelve Labs platform.

Inputs

  • Index ID (required) — The ID of the index from which to list videos.

Output shape

an object containing the list of videos in the specified index, with each video's details including video ID and associated index ID, plus count of videos and the index ID

The output includes a 'videos' array listing individual videos, a 'count' field with the total number of videos returned, and the 'indexId' for the queried index. Errors are returned as JSON objects if the request fails.

Examples

Example 1: List videos in a given index

Set the 'Index ID' to the target index identifier to retrieve all videos stored in that index.

Discussion