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`).
Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
In: header
Query Parameters
Start of time range filter (ISO-8601).
date-timeEnd of time range filter (ISO-8601).
date-time501 <= value <= 200Opaque cursor from a previous response's nextCursor.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/public/routing-metrics"{
"posteriors": [
{
"provider": "string",
"workType": "string",
"alpha": 0,
"beta": 0,
"expectedReward": 0,
"confidence": 0,
"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,
"explorationRate": 0,
"avgConfidence": 0,
"survivalRewardCount": 0
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"error": "Session not found"
}{
"error": "Session not found"
}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.