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.

Allocation and cost

summary.monthly_allocation is the regular monthly allowance, not the remaining balance or the sum of purchased packages. summary.cost_per_credit and currency_config use configured subscription fees and allowance; they do not represent the actual price of a particular one-time purchase. Use credit balance for the available balance. Check package validity in the app’s credit overview.

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