GET /api/admin/usage/accounts/:sub: the account's last 30 days live (sessions via usageHistory, keys via Index1). Counts only.Staff cookie session; permission usage.read.Source snapshot: admin/src/app/api/admin/usage/accounts/[sub]/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
Path Params
Responses
🟢200
application/json
GET /api/admin/usage/accounts/:sub: the account's last 30 days live (sessions via usageHistory, keys via Index1). Counts only.