Search within collection
post/collection/{collection_id}/search/
Path parameters
collection_idstring required
Example:default
Request body
Example request
{
"query": "search query",
"index_type": "spoken_word",
"search_type": "semantic",
"score_threshold": 0.2,
"result_threshold": 10,
"stitch": true
}Response
Search results
Example response
{
"success": true,
"data": {
"query": "search query",
"results": [
{
"video_id": "m-12345",
"start": 10.5,
"end": 20.3,
"text": "matched content",
"score": 0.95
}
]
}
}