v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
billing

Get a cost center by ID

Gets a cost center by ID. The authenticated user must be an enterprise admin.

get/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}

Path parameters

enterprisestring required

The slug version of the enterprise name.

cost_center_idstring required

The ID corresponding to the cost center.

Query parameters

pageinteger

The page number of the results to fetch. For more information, see "Using pagination in the REST API."

per_pageinteger

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

Response

Response when getting a cost center

idstring required

ID of the cost center.

namestring required

Name of the cost center.

azure_subscriptionstring nullable

Azure subscription ID associated with the cost center. Only present for cost centers linked to Azure subscriptions.

state'active' | 'deleted'

State of the cost center.

has_next_pageboolean

Indicates if there are more resources available for pagination. Only present when pagination is used.

ai_credit_pool_enabledboolean

Whether the cost center draws from the AI credit pool.

This can only be enabled for cost centers that contain only user or team resources.

  • false — no cap; the cost center draws from the shared enterprise pool.
  • true — the cost center is capped at an amount derived from its members' license entitlements.