Rensei docs
API ReferenceWorker Protocol

SSE stream for credential rotation events

Server-Sent Events stream. Emits `UPDATE` events when an upstream OAuth rotation occurs for the session's credentials. Keyed by `sessionId` query parameter.

GET
/api/daemon/credentials/rotate-stream

Authorization

rsk_Bearer
AuthorizationBearer <token>

Rensei API key. Format: rsk_live_<random>. Generated in Settings or via POST /api/org/{orgId}/keys. Used by CLI (af), daemon, and programmatic integrations.

In: header

Query Parameters

sessionId*string

Response Body

text/event-stream

application/json

curl -X GET "https://example.com/api/daemon/credentials/rotate-stream?sessionId=string"
"string"
{
  "error": "Session not found"
}