Event format
Each event carries a single base64-encoded msgpack delta:Example
Auth
The token must haveread permission for the CRDT ID. The namespace in the token must match the :ns path parameter.
Comparison with WebSocket
| WebSocket | SSE | |
|---|---|---|
| Direction | Bidirectional | Server → client only |
| Writes | Yes (ops over WS) | No — use POST /ops |
| Persistent connection | Yes | Yes (HTTP keep-alive) |
| Serverless compatible | No | Yes |
| Reconnect on drop | Manual | Automatic (browser EventSource) |
POST /v1/namespaces/:ns/crdts/:id/ops. See AI Agents for a complete example.