RTStream
Create collection event
Changed onpost/rtstream/event
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.
Request body
Example request
{
"event_prompt": "Detect when a person enters the room",
"label": "person-entry"
}Response
Event created
Example response
{
"success": true,
"data": {
"event_id": "event-12345"
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking