Get 30-day usage histogram for a company
Return a per-day breakdown of metered usage over the last 30 days (oldest first) for a given company, aggregated across all non-revoked API keys of every user in that company. Includes a total_cost field with the cumulative spend.
Authorization: the authenticated user must have instance-level company-view permission (SysAdmin, Account Manager, or DPO Admin).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Start date for the billing window (ISO yyyy-mm-dd). Scopes both days and total_cost to this window — without it, days covers the last 30 days.
End date for the billing window (ISO yyyy-mm-dd, inclusive). Scopes both days and total_cost.