Create RTStream alert
Create Alert
Create an alert on a stream scene index
POST
Create RTStream alert
Create an alert that triggers when a detection event matches on a stream’s scene index. Alerts can send webhooks or WebSocket notifications.
event_idis required - must reference an existing detection event- Use
callback_urlfor HTTP webhook notifications when the event is detected - Use
ws_connection_idfor real-time WebSocket notifications - Alerts are created in
enabledstatus by default
Create Event
Define a detection event first
Alerts Guide
Learn about alerts and callbacks
Authorizations
API key for authentication (sk-xxx format)
Path Parameters
Example:
"rts-12345"
Example:
"scene-idx-12345"
Body
application/json