Billing accounts

Get pooled AI usage

Gets pooled billable AI usage for the billing account's current billing period, broken down by attached organization. Requires admin access to the account's owner organization.

get/api/public/billing-accounts/{billingAccountId}/ai-usage

Request

  • Base URL
    https://charts.basedash.com
  • Auth
    HTTP bearer

Path parameters

billingAccountIdstring required

Billing account ID

Response

AI usage retrieved successfully

totalUsagenumber required

Total billable AI usage pooled across all attached organizations for the billing period, in USD dollars

includedCreditsnumber required

Included AI usage credits for the account in USD dollars

billingPeriodStartstring date-time required

Billing period start timestamp

billingPeriodEndstring date-time required

Billing period end timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.