user-events

User Events Stream

Changed on

Subscribe to the authenticated user's live event channel via SSE.

Forwards messages on user:{user_id}:events to the browser via the per-instance UserEventsFanout. Heartbeat every 15 s. The connection closes when the client disconnects or the server shuts down; the FE reconnects with jittered backoff and re-fetches snapshot state on each (re)connect so a dropped event during a disconnect window is recovered automatically.

No payload is required from the FE — the subscription is implicit in opening the connection, scoped by the authenticated user.

get/api/v1/users/me/events

Request

  • Base URL
    https://api.maia-analytics.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maia-analytics.com/api/v1/users/me/events
  • Auth
    HTTP bearer

Response

One JSON frame per data: line.

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Changes

    • warning

      added the new duration enum value to the /////// response property for the response status

    • info

      added to the response body anyOf list for the response status

    • info

      added the optional property / to the response with the status