Streaming and Real-Time
What this feature is for
Streams enable near-real-time mailbox event consumption.
Flow
- Open stream with
GET /api/v1/inboxes/{id}/stream. - Use heartbeat and timeout behavior to detect reconnect needs.
- Recover using stored position metadata on reconnect.
Auxiliary endpoint
GET /api/v1/inboxes/{id}/warmup
Best practices
- Use backoff and resumable logic.
- Keep stream consumers stateless at request level and stateful in durable storage.