metrics
Summary
Return usage for accessible projects, optionally limited to the current user.
Personal view uses the authenticated user, including usage attributed to their API keys. Project view requires metrics:read_all_users. Omitting view selects project when permitted, otherwise personal. Every view preserves tenant and project access.
GET
Summary
Authorizations
Secure same-origin browser session cookie.
Query Parameters
Available options:
1h, 24h, 5d, 7d, 30d, 90d Available options:
personal, project Response
Successful Response
Allowed value:
"usage.summary"