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.
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.
Aggregate stats.
application/json- response
kAnonymityFloor*integerMinimum sample count for a stat row to be included.
periodStart?|date-timeperiodGrain*"day""day"stats*array<>generatedAt*stringdate-timecurl -X GET 'https://app.rensei.ai/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"}Declare a project's primary harness or sandbox provider.
Creates a project_resources row of kind harness or sandbox-provider for this project. Project-admin write; a signed-in caller with no project admin access gets 403, a machine credential naming a project outside its org (or one that does not exist) gets 404, and a second write for the same (project, kind, role) gets 409.
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.