Subscribe to live Inbox updates across every member organization.
One human-only SSE connection fans in authorized Inbox rows across organizations. Emits row.upsert, ask.opened, ask.resolved, focused entry.appended, count.needsYou and a heartbeat every 15 seconds. Last-Event-ID resumes exclusively from a bounded process-local buffer retained for 60 seconds after disconnect; cursor_expired reconnect events require a refetch. Redis is best effort; reconnect/refetch on replica change, capacity loss or projection errors. This is not the durable bus_seq cursor.
AuthorizationBearer <WorkOS user access token>WorkOS user access token created by the Rensei CLI. The authenticated organization is resolved from membership and may be narrowed with X-Rensei-Org.
scope*stringRead the caller’s cross-organization Inbox.
focus?stringShell id whose new conversation entries are streamed.
^(session|interactive|instance):[^\r\n]+$1 <= length <= 256Last-Event-ID?stringExclusive process-local SSE replay position.
Inbox SSE stream.
response?stringtext/event-streamcurl -X GET 'https://app.rensei.ai/api/execution-shells/stream?scope=user'"string"Count the inbox rows that need the calling viewer and are not handled.
The number of execution shells the caller’s user-scoped inbox (`GET /api/execution-shells?scope=user`) would label "Needs you" (`state=blocked`: not closed, a person is blocking) that the caller has not marked handled, computed as one aggregate over the caller’s org memberships and project entitlements - the same rows the inbox can show. Independent of the active workspace.
Store exact relay-owned post-takeover snapshot proof.
Relay-only TLS endpoint. Authentication uses one dedicated fixed-size bearer before body parsing; exact bytes are capped at 4096 by a counting limited reader (and by Content-Length when the transport supplies it), encrypted at rest, and bound to the unique prepared handoff. The first store returns 201, exact replay returns 200, and changed or abandoned authority returns a typed 409.