Usage
Aggregate usage for a subscription over a period
Needs the usage:read scope, or a full-access key. About scopes
GET
/
api/v1/usage-events/aggregateAuthorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Query Parameters
subscription_idRequiredstring
Format:
"uuid"period_startRequiredstring
Format:
"date-time"period_endRequiredstring
Format:
"date-time"Aggregated usage.