List accounts with usage for a time range.
Returns a page of accounts with usage aggregated by metric or currency. Metric sorting requires exactly one of metric_id or currency.
Authorizations
LedgerUp API Key.
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"
Maximum number of records to return. Defaults to 100.
1 <= x <= 100Cursor account id from the previous page. Return the next records after this account id.
Account ordering. Metric ordering requires metric_id or currency.
created_at, customer_name, metric_ascending, metric_descending Metric used for metric_ascending or metric_descending sorting. LedgerUp metric identifier.
^metric_[0-9a-f]{32}$"metric_0194f4e3a2b77c6aa91c4f6b4db2a980"
Currency used for metric_ascending or metric_descending sorting. Normalized to lowercase.
^[A-Za-z]{3}$"usd"