Search Videos

Search your dataset with natural language and return one result per video, surfacing the most relevant composite slice (top_composite_slice) and a preview keyframe. A composite is how Coactive segments a video into meaningful parts. Entries in responses are composite slices with start_time_ms and end_time_ms. Unlike /api/v1/search/text-to-image, which returns keyframes, this returns videos and their best-matching moments. Note: This works only for videos ingested with Coactive’s new video data model. If you’re unsure or want to try it, contact Coactive Support.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
dataset_idstringRequiredformat: "uuid"
text_querystringRequired>=2 characters
Text query must be at least 2 characters long
metadata_filtersobject or nullOptional
offsetintegerOptionalDefaults to 0
limitintegerOptionalDefaults to 60

Response

Successful Response
resultslist of objects

Errors