console

`GET /api/events` — backfill recent events, then stream live ones. Honors `?since=<id>` and the `Last-Event-ID` header for reconnect backfill.

Each message's data is a JSON Event { id, level, subsystem, target, message, fields, timestamp }. A lagged event signals the client fell behind and some events were dropped.

get/api/events

Request

  • The document declares no server URL.
  • Auth: API key in cookie lk_session

Query parameters

sinceinteger

Replay events with id greater than this (same role as Last-Event-ID).

Response

SSE stream of console events; each message's data is one JSON Event

Changes

No recorded changes to this operation across all 1 revision of this API.