Rediger

costManagementRoot resource type

Important

APIs under the /beta version are subject to change. Use of these APIs in production applications is not supported.

The Copilot Cost Management administration root, contained by the copilot singleton at /copilot/costManagement. Reading the root itself isn't supported in this version; use the contained collections, the contained usageReports root for reported consumption, and the bound getTenantCreditBalance function.

Methods

Method Return type Description
getTenantCreditBalance costManagementTenantCreditBalance Get the tenant-wide credit balance snapshot.

Properties

Property Type Description
id String Inherited entity key. Read-only.

Relationships

Relationship Type Description
creditRequests creditRequest collection The users' credit requests in the tenant, newest first. Excludes audit-only requests.
spendingPolicies spendingPolicy collection The spending policies that govern Copilot Credits consumption.
usageReports costManagementUsageReportRoot Reported consumption of Copilot Credits, split by user, group, service, and funding. Nullable.
userBalances costManagementUserBalance collection Per-user consumption balances, addressed by the user's identifier.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.costManagementRoot",
  "id": "String"
}