v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
gitpod.v1.BillingService

GetEnterpriseAIUserBudgetPolicy

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

When user_id is provided, the response includes any direct user override and the effective policy after applying the organization default. When user_id is omitted, both fields describe the organization default.

Authorization

Requires billing:read_usage permission on the organization.

post/gitpod.v1.BillingService/GetEnterpriseAIUserBudgetPolicy

Request body

mode'ENTERPRISE_AI_USER_BUDGET_MODE_UNSPECIFIED' | 'ENTERPRISE_AI_USER_BUDGET_MODE_CREDITS' | 'ENTERPRISE_AI_USER_BUDGET_MODE_BYOK' required
organizationIdstring uuid required
userIdstring uuid nullable

Response

Success