Subscribe to the authenticated org's live session-event SSE stream.
Subscribe to the authenticated org's live session-event SSE stream. - Rensei REST API operation reference.
Response Body
text/event-stream
application/json
curl -X GET "https://example.com/api/sessions/stream""string"{
"error": "Session not found"
}Read org security metrics (overview / health / timeline / posture).
Returns security dashboard metrics scoped to the authenticated org. `metricType` selects the projection: overview (all sections), health, timeline, or posture. `timeRange` ∈ 24h/7d/30d/90d. Bearer-reachable for human principals (user token or browser session); rsk_* API keys and BYOA OAuth-agent tokens are rejected 403.
Read the agent topology cold snapshot (nodes, edges, counters).
Returns the fleet topology snapshot for the authenticated org: session/sub-agent nodes, workflow/handoff/subagent edges, top counters (sessions / issues / today cost), and a session-activity stream seed. Optionally scoped to a project via ?project=<slug> (a slug that does not resolve in the caller org yields an empty topology, never another project's sessions). Bearer-reachable; the live delta feed is the sibling SSE stream (streamOrgSessionEvents).