Get organization usage
<Info>**Deprecated. Sunset: 2027-02-28.** Use [Get aggregated usage](/references/content-management-api/usage/get-usage-aggregated) instead. See the [Usage migration guide](/references/content-management-api/usage-migration-guide) for a full mapping of parameters and response shapes.</Info>
Query organization usage by `metric` for a given date range. If `startAt` and `endAt` are not passed through the query a historical data for the last 45 days will be returned by default.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
organization_id
Id of organization
Query parameters
metric
Comma separated list of API types (cma,cda,cpa,gql)
startAt
Date in yyyy-mm-dd format
endAt
Date in yyyy-mm-dd format
order
Order by usage. Default value is "-usage" and describes a descending usage order.
Response headers
Content-Type
Content-Type
Response
OK - Request successful