Skip to main content
GET
cURL

Metric semantics

  • from and to are inclusive YYYY-MM-DD dates. The maximum range is 1,830 days.
  • summary.previous_period_spent uses the equally sized period immediately before from.
  • daily, by_module, by_service, and by_user provide different aggregations of the same credit ledger.
  • lasso.products_enhanced is a snapshot of rows enhanced in qualifying tables, while lasso.credits_per_product divides the selected period’s Lasso credit spend by that snapshot count.
  • currency_config reflects the company’s configured billing currency and cost-per-credit settings.
The published TypeScript and Python SDKs do not yet expose this endpoint. Call it with direct HTTP.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

from
string<date>
required

Inclusive start date in YYYY-MM-DD format.

to
string<date>
required

Inclusive end date in YYYY-MM-DD format.

Response

Aggregated credit usage statistics.

period
object
required
summary
object
required
daily
object[]
required
by_module
object[]
required
by_service
object[]
required
by_user
object[]
required
lasso
object
required
currency_config
object
required