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`).
Authorization
rsk_Bearer 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
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"
}Real-time fleet statistics (org-scoped)
Returns live worker fleet and session queue metrics for the active org. Requires a session cookie or `rsk_` API key - despite the `/api/public` prefix, this endpoint is not anonymous.
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.