v1

latestOpenAPI 3.0.42026-08-04342835917.6 KB
Billing

Gets the current-period usage and applicable limit for a customer.

Defaults to the authenticated customer when no customerId is provided.

get/billing/summary

Query parameters

organizationIdstring

The organization to get the billing summary for. Defaults to the caller's own organization.

Response

OK

mode'Usage' | 'Limited' | 'Prepaid' required
currentPeriodUsagenumber double required

The accumulated billable spend in the current billing period.

effectiveLimitnumber double nullable

The spending cap for the current period, or null when unlimited.

availableAmountnumber double nullable

The remaining prepaid balance, set only for prepaid customers.

minimumSpendCommitmentnumber double required

Dollars the customer has committed to spend per billing period; 0 means no commitment.