Real time

Stream live events with SSE

Native EventSource authentication uses the short-lived session JWT in the token query parameter because EventSource cannot set an Authorization header. Personal API tokens are intentionally rejected here and must never be placed in URLs.

get/api/sites/{siteId}/stream

Request

  • Base URL: https://slimlytics.com
  • URL: https://slimlytics.com/api/sites/{siteId}/stream
  • Auth: API key in query parameter token

Path parameters

siteIdstring uuid required

Site UUID

Query parameters

tokenstring

Short-lived JWT for native EventSource clients that cannot set Authorization

lastEventIdinteger

Response

Server-sent event stream

Changes

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