Streams support three read modes, all viaDocumentation Index
Fetch the complete documentation index at: https://docs.snakream.tonbo.dev/llms.txt
Use this file to discover all available pages before exploring further.
GET:
- Catch-up:
GET /ds/b/s?offset=-1returns all data from the given offset immediately. Use this to sync historical data. - Long-poll:
GET /ds/b/s?offset=...&live=long-pollreturns immediately if data is available, otherwise holds the connection until new data arrives or a timeout. Good for simple polling loops. - SSE:
GET /ds/b/s?offset=...&live=sseopens a persistent Server-Sent Events connection. The server pushes new data as it arrives. This is the recommended mode for real-time frontends (EventSourcein the browser works out of the box).

