Skip to main content
GET
Get pooled AI usage

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format: Bearer <basedash_api_key>

Path Parameters

billingAccountId
string
required

Billing account ID

Response

AI usage retrieved successfully

totalUsage
number
required

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

includedCredits
number
required

Included AI usage credits for the account in USD dollars

billingPeriodStart
string<date-time>
required

Billing period start timestamp

billingPeriodEnd
string<date-time>
required

Billing period end timestamp

organizationUsage
object[]
required

Billable AI usage grouped by attached organization