Skip to main content
Unary · Billing Lists enterprise AI usage grouped by team. Reports BYOK token spend per team (cost and tokens) with each team’s monthly budget when one applies. The credits field is not populated by this endpoint. Use this method to:
  • Compare BYOK AI spend across teams
  • Track team budget utilization
  • Filter usage to specific teams
Only available for enterprise organizations.

Examples

  • List team usage for January: Returns BYOK spend per team with monthly budgets. Both dates are inclusive and the range must not exceed 31 days.

Authorization

Requires billing:read_usage permission on the organization.

Endpoint

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.ListEnterpriseAITeamUsageRequest

Response

gitpod.v1.ListEnterpriseAITeamUsageResponse
DateRange specifies a time period for queries.gitpod.v1.DateRange
gitpod.v1.EnterpriseAIUsage
gitpod.v1.EnterpriseAIUsageBudget
gitpod.v1.EnterpriseAIUsageByTokenType
gitpod.v1.ListEnterpriseAITeamUsageRequest.Filter
gitpod.v1.PaginationRequest
gitpod.v1.PaginationResponse
gitpod.v1.TeamEnterpriseAIUsage