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.
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.
timeRange?string"30d""7d""30d""90d"Phase metrics.
application/json- response
timeRange*string"7d""30d""90d"phases*Per-phase aggregates keyed by phase name.
reworkRate*numberescalationDistribution*issueCount*integertimestamp*stringdate-timecurl -X GET 'https://app.rensei.ai/api/public/phase-metrics'{ "timeRange": "7d", "phases": { "property1": { "avgCycleTimeMs": 0, "avgCostUsd": 0, "avgAttempts": 0, "totalRecords": 0 }, "property2": { "avgCycleTimeMs": 0, "avgCostUsd": 0, "avgAttempts": 0, "totalRecords": 0 } }, "reworkRate": 0, "escalationDistribution": { "property1": 0, "property2": 0 }, "issueCount": 0, "timestamp": "2019-08-24T14:15:22Z"}Platform-wide anonymised aggregate statistics
Returns whole-platform (not org-scoped) anonymised aggregate metrics - e.g. top work types, provider distribution, phase cycle-time distributions. Results are k-anonymised (rows with fewer than `kAnonymityFloor` samples are suppressed). Auth: `rsk_` bearer, user JWT, or session cookie. Not unauthenticated despite the `/api/public` prefix.
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`).