Rensei docs

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.

GET
/api/execution-shells/stream

Authorization

headerAuthorizationBearer <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.

Query Parameters

scope*string

Read the caller’s cross-organization Inbox.

focus?string

Shell id whose new conversation entries are streamed.

Match^(session|interactive|instance):[^\r\n]+$
Length1 <= length <= 256

Header Parameters

Last-Event-ID?string

Exclusive process-local SSE replay position.

Response Body

Inbox SSE stream.

response?stringtext/event-stream
Example Request
curl -X GET 'https://app.rensei.ai/api/execution-shells/stream?scope=user'
Example Response
"string"