Skip to main content
After starting a streaming session, connect to the WebSocket endpoint to receive real-time logs.

Connection

Authentication

Include your JWT token as a query parameter:

Message Format

Log Messages

Control Messages

Example

Session Lifecycle

  1. Start: Call POST /api/v1/stream/start to create a session
  2. Connect: Open WebSocket connection with session ID
  3. Stream: Receive log messages in real-time
  4. Warning: Receive session_ending control message 30 seconds before timeout
  5. End: Connection closes when session times out or is stopped
Sessions automatically terminate after the specified timeout (default: 5 minutes, max: 1 hour). This prevents forgotten streams from running indefinitely.