FinOps API#
Query costs, manage allocation groups and budgets, read the optimization score and manage scheduled reports. See Assess costs.
All paths are relative to the base URL and need the authentication described in REST API. Each operation lists the Reply CMP permissions its caller must hold.
Costs#
Get cost data status of a connection#
GET /finops/cost/info/{connectionId}
Permissions: FinOps.Cost/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
List cost data status of all connections#
GET /finops/cost/info
Returns, for each connection, the cost data availability and the time of the latest ingestion.
Permissions: FinOps.Cost/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Request cost data ingestion#
POST /finops/cost/ingest/{connectionId}
Starts a new ingestion of cost data for a connection.
Permissions: FinOps.Cost/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Query costs#
POST /finops/cost/query
Aggregates actual or amortized costs over a time frame, with optional grouping, filters, granularity, top-K selection and forecast. This is the query behind the cost analysis views of the portal.
Permissions: FinOps.Cost/Read
Request body (application/json, required): QueryInput
{
"type": "Actual",
"timeFrame": "PreviousMonth",
"granularity": "Monthly",
"currency": "DefaultForTenant",
"dataset": {
"select": ["Provider", "ConnectionName"],
"groupBy": ["Provider", "ConnectionName"],
"filter": {
"and": [
{ "column": "Provider", "operator": "Equals", "values": ["Azure", "AWS"] },
{ "column": "Cost", "operator": "GreaterThan", "values": ["100"] }
]
},
"costGroupingOperator": "Sum"
},
"k": { "value": 10, "ordering": "Descending" }
}
Responses
Status |
Description |
Body |
|---|---|---|
|
A JSON object with |
|
|
The request is invalid. The body describes the validation errors. |
List reservations and commitments#
GET /finops/cost/reservations
Permissions: FinOps.Cost/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
List the resources whose usage a reservation, Savings Plan or commitment covered#
GET /finops/cost/reservations/{id}/resources
Permissions: FinOps.Cost/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string (date) |
No |
|
|
query |
string (date) |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
List resource types with meter-level cost breakdown#
GET /finops/cost/metered-resource-types
Permissions: FinOps.Cost/Read
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of ResourceType |
Cost spike alerts#
Get cost spike alert settings#
GET /finops/spike-alert-settings
Permissions: FinOps.Cost/Read
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Update cost spike alert settings#
PUT /finops/spike-alert-settings
Permissions: FinOps.Cost/Write
Request body (application/json, required): UpsertCostSpikeAlertSettingsBody
{
"isEnabled": false,
"absoluteThreshold": 0,
"percentageThreshold": 0,
"detectGroupSpikes": false,
"notificationSettings": {
"sendInApp": true,
"sendEmail": false,
"emailRecipients": [
"string"
],
"webhookIntegrationIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
Allocation groups#
Update allocation grouping options#
PUT /finops/allocation/grouping-options
Permissions: FinOps.Allocation/Write
Request body (application/json, required): EditGroupingOptionsRequest
{
"organization": [
{
"name": "string",
"children": [
{}
]
}
],
"environments": [
"string"
],
"projects": [
"string"
]
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
List allocation groups#
GET /finops/allocation/groups
Permissions: FinOps.Allocation/Read
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Preview resources matched by allocation rules#
POST /finops/allocation/groups
Returns the resources that the allocation rules in the request body would assign to a group, without saving them.
Permissions: FinOps.Allocation/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
|
|
query |
integer (int32) |
No |
Request body (application/json, required): EditGroupRulesRequest
{
"rules": {},
"convertedRules": {
"type": "and",
"filters": [
{}
]
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of SearchedDiscoveredResourceEntry |
|
The request is invalid. The body describes the validation errors. |
Update the rules of an allocation group#
PUT /finops/allocation/groups/{groupId}/rules
Permissions: FinOps.Allocation/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): EditGroupRulesRequest
{
"rules": {},
"convertedRules": {
"type": "and",
"filters": [
{}
]
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Set the owner of an allocation group#
PUT /finops/allocation/groups/{groupId}/owner
Permissions: FinOps.Allocation/Write, Onboarding.User/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): EditGroupOwnerRequest
{
"ownerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Budgets#
Get the budget of an allocation group#
GET /finops/allocation/groups/{groupId}/budget
Permissions: FinOps.Budget/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Create the budget of an allocation group#
POST /finops/allocation/groups/{groupId}/budget
Permissions: FinOps.Budget/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): AddBudgetRequest
{
"amount": 0,
"startDate": "2026-01-31",
"endDate": "2026-01-31",
"resetPeriod": "Monthly",
"alerts": [
{
"trigger": "Actual",
"threshold": 0,
"thresholdType": "Percentage",
"escalate": false,
"triggeredThisPeriod": false
}
],
"notificationSettings": {
"sendInApp": true,
"sendEmail": false,
"emailRecipients": [
"string"
],
"webhookIntegrationIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
Update the budget of an allocation group#
PUT /finops/allocation/groups/{groupId}/budget
Permissions: FinOps.Budget/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): EditBudgetRequest
{
"amount": 0,
"endDate": "2026-01-31",
"alerts": [
{
"trigger": "Actual",
"threshold": 0,
"thresholdType": "Percentage",
"escalate": false,
"triggeredThisPeriod": false
}
],
"notificationSettings": {
"sendInApp": true,
"sendEmail": false,
"emailRecipients": [
"string"
],
"webhookIntegrationIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Delete the budget of an allocation group#
DELETE /finops/allocation/groups/{groupId}/budget
Permissions: FinOps.Budget/Delete
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Get a suggested budget for an allocation group#
GET /finops/allocation/groups/{groupId}/budget/suggestion
Suggests a budget amount from the historical and forecast costs of the group.
Permissions: FinOps.Budget/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Allocation coverage#
Count resources without an allocation group#
GET /finops/benchmarks/resources-without-group/count
Permissions: FinOps.Allocation/Read, Discovery.Resource/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
boolean |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
List resources without an allocation group#
POST /finops/benchmarks/resources-without-group
Permissions: FinOps.Allocation/Read, Discovery.Resource/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
boolean |
No |
Request body (application/json, required): PaginateResourcesWithoutGroupRequest
{
"dimensions": [
"Organization"
],
"page": 1,
"pageSize": 25
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of ResourceWithoutGroupItem |
|
The request is invalid. The body describes the validation errors. |
Count resources in more than one allocation group#
GET /finops/benchmarks/resources-in-multiple-groups/count
Permissions: FinOps.Allocation/Read, Discovery.Resource/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
boolean |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
List resources in more than one allocation group#
GET /finops/benchmarks/resources-in-multiple-groups
Permissions: FinOps.Allocation/Read, Discovery.Resource/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
boolean |
No |
|
|
query |
integer (int32) |
No |
|
|
query |
integer (int32) |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of ResourceInMultipleGroupsItem |
Optimization score#
Get the optimization score#
GET /finops/optimization-score
Permissions: FinOps.Cost/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string (uuid) |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
List resources assessed by the optimization score#
GET /finops/optimization-score/resources
Permissions: FinOps.Cost/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string (uuid) |
No |
|
|
query |
No |
||
|
query |
integer (int32) |
No |
|
|
query |
integer (int32) |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Get the optimization score history#
GET /finops/optimization-score/history
Permissions: FinOps.Cost/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string (uuid) |
No |
|
|
query |
integer (int32) |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of OptimizationScoreHistoryPoint |
|
The resource does not exist in the tenant. |
Scheduled reports#
List scheduled reports#
GET /finops/report
Permissions: FinOps.Report/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Create a scheduled report#
POST /finops/report
Permissions: FinOps.Report/Write
Request body (application/json, required): CreateReportRequestBody
{
"name": "string",
"description": "string",
"dataWindow": "Daily",
"crontab": "string",
"aiContentConfiguration": {
"htmlTemplate": "string",
"goal": "string",
"savedToolCalls": [
{
"toolName": "string",
"argumentsJson": "string",
"obsId": "string",
"interpretation": "string",
"temporal_slice": 0
}
]
},
"isActive": true,
"notificationSettings": {
"sendInApp": true,
"sendEmail": false,
"emailRecipients": [
"string"
],
"webhookIntegrationIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The request conflicts with the current state of the resource. |
Get a scheduled report#
GET /finops/report/{id}
Permissions: FinOps.Report/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Update a scheduled report#
PUT /finops/report/{id}
Permissions: FinOps.Report/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): UpdateReportRequestBody
{
"name": "string",
"description": "string",
"dataWindow": "Daily",
"crontab": "string",
"isActive": false,
"notificationSettings": {
"sendInApp": true,
"sendEmail": false,
"emailRecipients": [
"string"
],
"webhookIntegrationIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Delete a scheduled report#
DELETE /finops/report/{id}
Permissions: FinOps.Report/Delete
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Send a scheduled report now#
POST /finops/report/{id}/trigger
Generates and delivers the report immediately, outside its schedule.
Permissions: FinOps.Report/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, optional): TriggerReportRequestBody or null
{
"periodStart": "2026-01-31T09:00:00Z",
"periodEnd": "2026-01-31T09:00:00Z"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
The resource does not exist in the tenant. |
List report audit events#
GET /finops/report/events
Permissions: FinOps.Report/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Tagging#
Assess the raw tags of the tenant inventory#
GET /finops/allocation/tagging/assessment
Per tag key: active resources covered, share of the last-30-day resource cost, distinct and top values, and groups of keys that look like spelling variants of the same dimension.
Permissions: FinOps.Allocation/Read
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Get the tenant tagging convention and its last compliance evaluation#
GET /finops/allocation/tagging/convention
Permissions: FinOps.Allocation/Read
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Create or replace the tenant tagging convention#
PUT /finops/allocation/tagging/convention
Validates and stores the convention, materializes the normalized tags and returns the compliance summary. No cloud tag is changed.
Permissions: FinOps.Allocation/Write
Request body (application/json, required): TaggingConventionInput
{
"keys": [
{
"key": "string",
"description": "string",
"required": false,
"aliases": [
"string"
],
"values": [
{
"value": "string",
"aliases": [
"string"
]
}
],
"inferenceRules": [
{
"source": "ResourceName",
"operator": "Equals",
"pattern": "string",
"value": "string"
}
],
"nameSearch": [
"ResourceName"
],
"defaultValue": "string"
}
],
"preferInferenceOnConflict": false
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
Delete the tenant tagging convention and its normalized tags#
DELETE /finops/allocation/tagging/convention
Permissions: FinOps.Allocation/Write
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Generate a draft tagging convention with AI#
POST /finops/allocation/tagging/convention/suggestion
Drafts canonical keys, accepted spellings, allowed values and inference rules from the tags and naming of the inventory. Nothing is persisted. Returns 503 when the model gives no valid convention in time.
Permissions: FinOps.Allocation/Write
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
Service Unavailable |
Evaluate a draft tagging convention without saving it#
POST /finops/allocation/tagging/convention/preview
Permissions: FinOps.Allocation/Write
Request body (application/json, required): TaggingConventionInput
{
"keys": [
{
"key": "string",
"description": "string",
"required": false,
"aliases": [
"string"
],
"values": [
{
"value": "string",
"aliases": [
"string"
]
}
],
"inferenceRules": [
{
"source": "ResourceName",
"operator": "Equals",
"pattern": "string",
"value": "string"
}
],
"nameSearch": [
"ResourceName"
],
"defaultValue": "string"
}
],
"preferInferenceOnConflict": false
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
List active resources by normalized-tag status for one canonical key#
GET /finops/allocation/tagging/resources
Permissions: FinOps.Allocation/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
|
|
query |
No |
||
|
query |
string |
No |
|
|
query |
integer (int32) |
No |
|
|
query |
integer (int32) |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Export commands that write normalized tags back to the clouds#
GET /finops/allocation/tagging/remediation
CSV for every provider, Azure CLI or AWS CLI scripts. Reply CMP never runs them; customers execute them with their own credentials.
Permissions: FinOps.Allocation/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
List resources whose normalized tags differ from their cloud tags#
GET /finops/allocation/tagging/cloud-changes
Grouped per resource, with the connection and whether it is read-write (writable). Filter by canonical key and resource name.
Permissions: FinOps.Allocation/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
|
|
query |
string |
No |
|
|
query |
integer (int32) |
No |
|
|
query |
integer (int32) |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Start writing normalized tags to the clouds in the background#
POST /finops/allocation/tagging/cloud-changes/runs
Writes explicit resourceIds (up to 1000) or every pending resource matching the filters, in batches of 100 processed by the FunctionApp; read the progress with runs/latest. Only read-write connections are written; others are reported as skipped. Existing tags are preserved; removeReplacedKeys also deletes the alias keys replaced by canonical keys. GCP labels are supported on Compute Engine instances, disks, images and snapshots and on Cloud Storage buckets. 409 while another run of the tenant is queued or running.
Permissions: FinOps.Allocation/Write
Request body (application/json, required): TaggingCloudWriteRequest
{
"resourceIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"key": "string",
"search": "string",
"removeReplacedKeys": false
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Accepted; the work continues asynchronously. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
Progress of the most recent write to the clouds#
GET /finops/allocation/tagging/cloud-changes/runs/latest
Status, counts and the resources that were not written with the reason (at most 500). 404 when the tenant never wrote tags.
Permissions: FinOps.Allocation/Read
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Stop a write to the clouds#
POST /finops/allocation/tagging/cloud-changes/runs/{runId}/stop
The run stops after the batch in progress; what was written stays written.
Permissions: FinOps.Allocation/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |