Session Document Events
Poll for cross-session document updates: returns document_updated events for documents
THIS session holds that OTHER sessions committed since after_id. The client polls this
(~every 1-2s while a doc is open) and re-fetches the changed document’s content so all open
sessions converge without a refresh. Excludes this session’s own writes by default (the web UI
already has its own changes); a REST/MCP integrator can pass include_own=true to receive its
own events too. REST-only — a lightweight poll, deliberately NOT an MCP tool and NOT a held
SSE connection (keeps the per-instance connection budget free).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Path Parameters
Query Parameters
Return events with id greater than this (the poll cursor).
x >= 0Integrator opt-out: when true, ALSO return this session's own document_updated events (default false excludes them — the web UI never needs its own writes echoed). A REST/MCP integration that writes on one connection and polls on another, or wants a complete change feed for the docs it holds, sets this true.
Response
Successful Response

