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.
Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/api/public/aggregate-stats"{
"kAnonymityFloor": 0,
"periodStart": "2019-08-24T14:15:22Z",
"periodGrain": "day",
"stats": [
{
"dimension": "string",
"dimensionValue": "string",
"metric": "string",
"value": 0,
"kCount": 0,
"periodStart": "2019-08-24T14:15:22Z"
}
],
"generatedAt": "2019-08-24T14:15:22Z"
}{
"error": "Session not found"
}List a project's resource palette, grouped by kind.
Returns the project's unified resource palette grouped by kind (repo, tracker, ...), optionally filtered to a single ?kind. Bearer-reachable read scoped to project-viewer access; a caller with no project access or a cross-tenant project gets 403.
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.