Skip to main content

Server-sent events for one account (intents, quota, account mirror, notices, incidents, pricing).

GET 

/v1/stream

Auth: send the Authorization header from a streaming HTTP client. From a browser EventSource, use a single-use ticket query parameter instead. A native-auth token is never accepted in a URL. Event names are the StreamTopic values plus reset, and every client must handle reset. data: is one StreamEvent JSON object. id: is <hostId>.<bootEpoch>.<seq>: hostId is a or b (the core host), bootEpoch is the start time of that API process in Unix ms, and seq counts this account's events on that host. Last-Event-ID replays up to 300 000 ms or 1 000 events. The server sends event: reset first when the Last-Event-ID is older than that window, comes from the other API host, or comes from before a server restart. On reset, reload your data. Each host numbers its own events, so an ID from one host cannot be resumed on the other. The server coalesces at 4 to 10 Hz and sends a comment line every 15 000 ms as keep-alive.

Request​

Responses​

Event stream of StreamEvent objects.