curl --request GET \
--url 'https://api.stateset.com/api/v1/events/stream' \
--header "Authorization: Bearer $STATESET_API_KEY"
"string"
Event stream
Each frame carries a monotonic id. Supports: - ?filter=order.* — event type filtering (prefix match with wildcard)…
GET
/
api
/
v1
/
events
/
stream
curl --request GET \
--url 'https://api.stateset.com/api/v1/events/stream' \
--header "Authorization: Bearer $STATESET_API_KEY"
"string"
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.Response
Returnstext/event-stream — 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.
Status codes
| Code | Meaning |
|---|---|
200 | 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. |
curl --request GET \
--url 'https://api.stateset.com/api/v1/events/stream' \
--header "Authorization: Bearer $STATESET_API_KEY"
"string"
Last modified on August 31, 2026