cURL
curl --request PATCH \ --url https://api.videodb.io/rtstream/{stream_id}/index/scene/{scene_index_id}/status \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "action": "stop" } '
{ "success": true, "message": "Operation successful" }
Start or stop a scene index on a real-time stream
action
start
stop
API key for authentication (sk-xxx format)
"rts-12345"
"scene-idx-12345"
"stop"
Scene index status updated
true
"Operation successful"