Skip to main content
POST
Search within video
Search for specific content within a video using semantic search on transcripts or visual indexes.
  • Requires index to be created first (create-index endpoint)
  • Returns matched segments with timestamps and relevance scores
  • Supports semantic search on transcribed text
  • Can filter results by score threshold and result count
  • Search results include exact timestamp ranges for video navigation

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

video_id
string
required
Pattern: ^m-
Example:

"m-12345"

Body

application/json
query
string
required
Example:

"search query"

index_type
enum<string>
Available options:
spoken_word,
scene
Example:

"spoken_word"

search_type
enum<string>
Available options:
semantic,
keyword
Example:

"semantic"

score_threshold
number
Example:

0.2

result_threshold
integer
Example:

10

stitch
boolean
Example:

true

scene_index_id
string
Example:

"idx-12345"

filter
object[]

Response

200 - application/json

Search results

success
boolean
Example:

true

data
object