Credits
Get aggregated credit usage statistics
Returns company credit usage for an inclusive date range together with the equally sized preceding period. The maximum range is 1,830 days.
GET
cURL
Metric semantics
fromandtoare inclusiveYYYY-MM-DDdates. The maximum range is 1,830 days.summary.previous_period_spentuses the equally sized period immediately beforefrom.daily,by_module,by_service, andby_userprovide different aggregations of the same credit ledger.lasso.products_enhancedis a snapshot of rows enhanced in qualifying tables, whilelasso.credits_per_productdivides the selected period’s Lasso credit spend by that snapshot count.currency_configreflects the company’s configured billing currency and cost-per-credit settings.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Inclusive start date in YYYY-MM-DD format.
Inclusive end date in YYYY-MM-DD format.

