Get all monthly usage for an account.
Accounts
Get all monthly usage for an account.
GET
Get all monthly usage for an account.
Authorizations
LedgerUp API Key.
Path Parameters
LedgerUp account identifier.
Pattern:
^account_[0-9a-f]{32}$Example:
"account_0194f4e3a2b77c6aa91c4f6b4db2a980"
Query Parameters
Aggregation applied to corrected usage events. latest returns the quantity from the event with the latest occurred_at; ties use accepted_at then event ID. count returns the number of events.
Available options:
sum, min, max, avg, latest, count Example:
"sum"
Aggregate only events for this currency. Normalized to lowercase.
Pattern:
^[A-Za-z]{3}$Example:
"usd"
Response
Account usage grouped by UTC calendar month and metric.
Aggregation applied to corrected usage events. latest returns the quantity from the event with the latest occurred_at; ties use accepted_at then event ID. count returns the number of events.
Available options:
sum, min, max, avg, latest, count Example:
"sum"