Get account usage by UTC day for a time range.
Returns every UTC calendar day intersecting the requested half-open range. Days without usage have an empty data array.
Authorizations
LedgerUp API Key.
Path Parameters
LedgerUp account identifier.
^account_[0-9a-f]{32}$"account_0194f4e3a2b77c6aa91c4f6b4db2a980"
Query Parameters
Inclusive lower bound for event occurrence time. Unix timestamp in seconds.
1767225600
Exclusive upper bound for event occurrence time. Unix timestamp in seconds.
1767225600
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.
sum, min, max, avg, latest, count "sum"
Aggregate only events for this currency. Normalized to lowercase.
^[A-Za-z]{3}$"usd"
Response
Raw metric quantities for every UTC day in the requested range.
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.
sum, min, max, avg, latest, count "sum"