Skip to main content

Live log tail API

The live log tail API is planned for a future release. The endpoints described on this page are not yet available. This page documents the intended specification for reference.
Stream agent gateway logs directly to the browser using Server-Sent Events (SSE). No SSH access needed — see what your agent is doing in real-time from the dashboard.

Stream Logs

Opens an SSE connection that streams log output from the agent’s gateway container.

Response

Event Types

Client Example

Get Log History

Returns recent log lines without opening a streaming connection.

Response

Stop Log Stream

Stops the log stream and disconnects all clients.

Response

List Active Streams

Returns all currently active log streams.

Response

Behavior

  • Buffer: Last 500 lines kept in memory
  • Grace period: 30 seconds after last client disconnects before stopping the stream
  • Auto-reconnect: Clients can reconnect and receive buffered lines
  • No auth required for SSE connections (authentication is handled at the dashboard level)