GET /api/events/stream
Real-time & Health
GET /api/events/stream
Server-Sent Events stream for real-time job, worker, and queue updates.
GET
GET /api/events/stream
Opens a persistent SSE connection that streams real-time updates for a specific connection. The dashboard uses this endpoint to provide live updates without polling.
Authentication
Session cookie (dashboard).Query parameters
Event format
Events follow the SSE specification:Event types
Connection handling
- The SSE connection stays open indefinitely until the client disconnects.
- A
heartbeatevent is sent every 15 seconds to keep the connection alive through proxies and load balancers. - If the connection drops, reconnect with the same URL. The browser’s
EventSourceAPI handles reconnection automatically.