WebSocket /stream
Real-time video analysis via WebSocket connection.
BetaWS
/v1/streamEstablish a WebSocket connection for real-time video analysis.
Message Types
Authentication
JSON
{
"type": "auth",
"api_key": "your-api-key"
}Configuration
JSON
{
"type": "config",
"perception": "detect:person,vehicle",
"fps": 30
}Frame
JSON
{
"type": "frame",
"data": "base64-encoded-frame",
"timestamp": 1705432800000
}