MAB router performance posteriors and recent decisions
Returns the current Beta-distribution posteriors for all known `(provider, workType)` arms, recent observation history, and a summary of routing health. Includes survival-derived reward annotations where available. Supports cursor-based pagination for the observations list. Auth: `rsk_` API key or session cookie (`authenticatePublicRequest`).
AuthorizationBearer <rsk_live_*>Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
from?stringStart of time range filter (ISO-8601).
date-timeto?stringEnd of time range filter (ISO-8601).
date-timelimit?integer1 <= value <= 20050cursor?stringOpaque cursor from a previous response's nextCursor.
Routing metrics.
application/json- response
posteriors*array<>recentDecisions*array<>nextCursor?stringOpaque pagination cursor (absent when no further results).
summary*timestamp*stringdate-timecurl -X GET 'https://app.rensei.ai/api/public/routing-metrics'{ "posteriors": [ { "provider": "string", "workType": "string", "alpha": 0, "beta": 0, "expectedReward": 0, "pBest": 0, "hasEvidence": true, "totalObservations": 0, "avgCostUsd": 0, "survivalReward": 0 } ], "recentDecisions": [ { "timestamp": 0, "provider": "string", "workType": "string", "reward": 0, "taskCompleted": true, "confidence": 0, "explorationReason": "string" } ], "nextCursor": "string", "summary": { "totalObservations": 0, "routingEnabled": true, "routingMode": "disabled", "explorationRate": 0, "survivalRewardCount": 0, "hasPosteriorData": true }, "timestamp": "2019-08-24T14:15:22Z"}Phase-level cycle time, cost, and rework aggregations
Returns aggregated phase metrics (avg cycle time, cost, rework rate) across all workflow states in the workspace for the requested time range. Auth: `rsk_` API key or session cookie.
Get session activity time-series
Three access modes: 1. Worker JWT with `?sessionId=<rawLinearSessionId>`. 2. Unauthenticated with `?sessionId=<rawId>&sessionHash=<32-hex>`. 3. Authenticated CLI/dashboard with `?sessionId=<rawOrHashedId>` + `rsk_` bearer or session cookie.