Live streaming rooms, participant management, recordings, and real-time metrics. Build video conferencing, live events, webinars, or watch parties into your application.
Include your API key or JWT token in the Authorization header. All Co-Stream endpoints require authentication and project membership.
Co-Stream provisions a LiveKit-based streaming server. You create rooms, generate participant tokens, and we handle the WebRTC infrastructure for low-latency video and audio.
POST /projects/{slug}/costream
POST /costream/{id}/rooms
POST /costream/{id}/tokens
/projects/{slug}/costream
Create a Co-Stream server
/projects/{slug}/costream
List all Co-Stream servers in a project
/costream/{id}
Get server details
/costream/{id}/start
Start a stopped server
/costream/{id}/stop
Stop a running server
/costream/{id}
Permanently delete a server
/costream/{id}/rooms
Create a streaming room
/costream/{id}/rooms
List all rooms
/costream/{id}/rooms/{name}
Close a room
/costream/{id}/tokens
Generate a participant token
/costream/{id}/rooms/{name}/recording/start
Start recording a room
/costream/{id}/rooms/{name}/recording/stop
Stop recording
/costream/{id}/recordings
List all recordings
/costream/{id}/metrics
Server performance metrics
/costream/{id}/usage
Streaming minutes, bandwidth, and storage
All errors follow a standard format.
400
Invalid request body or parameters
401
Invalid or missing authentication
403
Insufficient permissions for this project
404
Server, room, or recording not found
409
Server not running or room already exists
422
Validation error (missing room_name, duplicate name)
429
Rate limit exceeded