RTStream
Search RTStream scene index
Changed onpost/rtstream/{stream_id}/search
Request
- Base URLhttps://api.videodb.io
- AuthAPI key in header x-access-token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
stream_idstring required
Example:rts-12345
Request body
Example request
{
"query": "person walking",
"scene_index_id": "scene-idx-12345",
"result_threshold": 10,
"score_threshold": 0.5,
"dynamic_score_percentage": 20,
"stitch": true
}Response
Search results
Example response
{
"success": true,
"data": {
"results": [
{
"start": 1700000000,
"end": 1700000010,
"text": "matching scene text",
"score": 0.95,
"scene_index_id": "scene-idx-12345"
}
]
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking