GET /api/admin/usage/rollup?from&to&by=org|account: daily platform series for the range (default: 30 days to yesterday, at most 400) and, with by, the breakdown by org (teams and classrooms, kind tells them apart) or by account (pseudonymous principals from each day's top 50). Rollup rows only; never a scan.Staff cookie session; permission usage.read.Source snapshot: admin/src/app/api/admin/usage/rollup/route.ts. This reference describes the current working tree, not proof of deployment. The response service types and validators remain authoritative.
Request
Authorization
API Key
Add parameter in cookie
__Host-hwa_session
Example:
__Host-hwa_session: ********************
or
Query Params
Responses
🟢200
application/json
GET /api/admin/usage/rollup?from&to&by=org|account: daily platform series for the range (default: 30 days to yesterday, at most 400) and, with by, the breakdown by org (teams and classrooms, kind tells them apart) or by account (pseudonymous principals from each day's top 50). Rollup rows only; never a scan.