Skip to main content
BillingService provides billing and subscription management functionality.

Methods

Create Team Credit Allocation

Creates a credit allocation (budget) for a team.

Delete Enterprise AI User Budget Policy

Deletes the organization default or a per-user monthly budget policy.

Delete Team Credit Allocation

Deletes the credit allocation for a team.

Get Credit Usage Export

Returns a signed download URL for a CSV export of credit usage.

Get Credit Usage Report

Returns a daily credit usage report for an enterprise organization.

Get Cumulative Credit Usage

Returns cumulative credit usage for an organization and its teams.

Get Enterprise AI Usage Summary

Returns organization-level enterprise AI usage totals for reporting.

Get Enterprise AI Usage Time Series

Returns daily enterprise AI usage totals for the organization.

Get Enterprise AI User Budget Policy

Gets the configured and effective monthly budget policy for a user or org.

Get Team Credit Allocation

Gets the credit allocation for a team.

List Enterprise AI Team Usage

Lists enterprise AI usage grouped by team.

List Enterprise AI User Usage

Lists enterprise AI usage grouped by user with effective monthly budget data.

List Enterprise User Credit Usage

Lists per-user month-to-date credit usage with effective monthly budgets.

Set Enterprise AI User Budget Policy

Sets the organization default or a per-user monthly budget policy.

Update Team Credit Allocation

Updates the credit allocation for a team.