`GET /api/v1/events/stream` — SSE endpoint.
Each frame carries a monotonic id. Supports:
?filter=order.*— event type filtering (prefix match with wildcard). -Last-Event-IDrequest header (or?last_event_id=) — replays buffered events with a greater id from a bounded server-side ring before resuming the live stream. The header takes precedence over the query parameter. If the requested resume id has already been evicted from the bounded buffer (a gap), a singleevent: stream_resetframe is emitted before whatever remains is replayed, signaling the client to reconcile state out-of-band.
GET
Each frame carries a monotonic
id. Supports:
?filter=order.*— event type filtering (prefix match with wildcard).Last-Event-IDrequest header (or?last_event_id=) — replays buffered events with a greater id from a bounded server-side ring before resuming the live stream. The header takes precedence over the query parameter.
event: stream_reset frame is emitted before whatever
remains is replayed, signaling the client to reconcile state out-of-band.
Query parameters
string
Optional event type filter (e.g.
order.*).integer (int64)
Resume the stream after this event id. Equivalent to the standard SSE
Last-Event-ID request header; the header takes precedence when both
are supplied. Events with a greater id are replayed from the bounded
server-side buffer before the live stream resumes.Responses
string
Server-Sent Events stream of commerce events. Each frame carries a monotonic
id; clients may resume after a drop via the Last-Event-ID header. On a replay gap a stream_reset frame is emitted first.