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

connectionId

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

ConnectionFinOpsInfoEntry

404

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

Filters

query

string

No

Filter expression, for example name@=prod. See Filtering, sorting and paging.

Sorts

query

string

No

Comma-separated sort fields; prefix a field with - for descending order.

Page

query

integer (int32)

No

Page number, starting at 1. Minimum 1.

PageSize

query

integer (int32)

No

Number of items per page, 25 by default and at most 100. Minimum 1.

Responses

Status

Description

Body

200

Success.

ListConnectionsInfoResponse

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

connectionId

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

404

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

200

A JSON object with currency, dataStart and dataEnd (the period covered by the available data) and data, the result rows: one row per combination of the groupBy columns (and time bucket, with a granularity) with the selected columns and the cost.

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

List reservations and commitments#

GET /finops/cost/reservations

Permissions: FinOps.Cost/Read

Parameters

Name

In

Type

Required

Description

Filters

query

string

No

Filter expression, for example name@=prod. See Filtering, sorting and paging.

Sorts

query

string

No

Comma-separated sort fields; prefix a field with - for descending order.

Page

query

integer (int32)

No

Page number, starting at 1. Minimum 1.

PageSize

query

integer (int32)

No

Number of items per page, 25 by default and at most 100. Minimum 1.

Responses

Status

Description

Body

200

Success.

ListReservationsResponse

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

id

path

string (uuid)

Yes

from

query

string (date)

No

to

query

string (date)

No

Responses

Status

Description

Body

200

Success.

ReservationCoveredResourcesResponse

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

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

200

Success.

array of ResourceType

Summarize hidden costs#

GET /finops/cost/hidden-costs

Summarizes security, observability, backup, networking and support costs for a period.

Permissions: FinOps.Cost/Read

Parameters

Name

In

Type

Required

Description

timeFrame

query

QueryInputTimeFrame

Yes

type

query

QueryInputType

No

Responses

Status

Description

Body

200

Success.

HiddenCostsResponse

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

Cost spike alerts#

Get cost spike alert settings#

GET /finops/spike-alert-settings

Permissions: FinOps.Cost/Read

Responses

Status

Description

Body

200

Success.

CostSpikeAlertSettingsEntry

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

200

Success.

CostSpikeAlertSettingsEntry

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

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

200

Success.

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

The resource does not exist in the tenant.

List allocation groups#

GET /finops/allocation/groups

Permissions: FinOps.Allocation/Read

Responses

Status

Description

Body

200

Success.

IndexGroupsResponse

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

nextPageToken

query

string

No

pageSize

query

integer (int32)

No

Request body (application/json, required): EditGroupRulesRequest

{
  "rules": {},
  "convertedRules": {
    "type": "and",
    "filters": [
      {}
    ]
  }
}

Responses

Status

Description

Body

200

Success.

array of SearchedDiscoveredResourceEntry

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

Update the rules of an allocation group#

PUT /finops/allocation/groups/{groupId}/rules

Permissions: FinOps.Allocation/Write

Parameters

Name

In

Type

Required

Description

groupId

path

string (uuid)

Yes

Request body (application/json, required): EditGroupRulesRequest

{
  "rules": {},
  "convertedRules": {
    "type": "and",
    "filters": [
      {}
    ]
  }
}

Responses

Status

Description

Body

204

Success, no content.

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

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

groupId

path

string (uuid)

Yes

Request body (application/json, required): EditGroupOwnerRequest

{
  "ownerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Responses

Status

Description

Body

204

Success, no content.

404

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

groupId

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

BudgetDetailEntry

404

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

groupId

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

201

Created.

BudgetDetailEntry

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

The resource does not exist in the tenant.

409

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

groupId

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

204

Success, no content.

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

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

groupId

path

string (uuid)

Yes

Responses

Status

Description

Body

204

Success, no content.

404

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

groupId

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

BudgetSuggestion

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

includeDeleted

query

boolean

No

Responses

Status

Description

Body

200

Success.

ResourcesWithoutGroupCountResult

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

includeDeleted

query

boolean

No

Request body (application/json, required): PaginateResourcesWithoutGroupRequest

{
  "dimensions": [
    "Organization"
  ],
  "page": 1,
  "pageSize": 25
}

Responses

Status

Description

Body

200

Success.

array of ResourceWithoutGroupItem

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

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

includeDeleted

query

boolean

No

Responses

Status

Description

Body

200

Success.

ResourcesInMultipleGroupsCountResult

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

includeDeleted

query

boolean

No

page

query

integer (int32)

No

pageSize

query

integer (int32)

No

Responses

Status

Description

Body

200

Success.

array of ResourceInMultipleGroupsItem

Optimization score#

Get the optimization score#

GET /finops/optimization-score

Permissions: FinOps.Cost/Read

Parameters

Name

In

Type

Required

Description

groupId

query

string (uuid)

No

Responses

Status

Description

Body

200

Success.

OptimizationScoreSummary

404

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

groupId

query

string (uuid)

No

sort

query

OptimizationScoreResourceSort

No

page

query

integer (int32)

No

pageSize

query

integer (int32)

No

Responses

Status

Description

Body

200

Success.

OptimizationScoreResourcePage

404

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

groupId

query

string (uuid)

No

days

query

integer (int32)

No

Responses

Status

Description

Body

200

Success.

array of OptimizationScoreHistoryPoint

404

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

Filters

query

string

No

Filter expression, for example name@=prod. See Filtering, sorting and paging.

Sorts

query

string

No

Comma-separated sort fields; prefix a field with - for descending order.

Page

query

integer (int32)

No

Page number, starting at 1. Minimum 1.

PageSize

query

integer (int32)

No

Number of items per page, 25 by default and at most 100. Minimum 1.

Responses

Status

Description

Body

200

Success.

ListReportsResponse

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

201

Created.

GetReportResponse

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

409

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

id

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

GetReportResponse

404

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

id

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

204

Success, no content.

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

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

id

path

string (uuid)

Yes

Responses

Status

Description

Body

204

Success, no content.

404

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

id

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

404

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

Filters

query

string

No

Filter expression, for example name@=prod. See Filtering, sorting and paging.

Sorts

query

string

No

Comma-separated sort fields; prefix a field with - for descending order.

Page

query

integer (int32)

No

Page number, starting at 1. Minimum 1.

PageSize

query

integer (int32)

No

Number of items per page, 25 by default and at most 100. Minimum 1.

Responses

Status

Description

Body

200

Success.

ListReportEventsResponse

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

200

Success.

TaggingAssessment

Get the tenant tagging convention and its last compliance evaluation#

GET /finops/allocation/tagging/convention

Permissions: FinOps.Allocation/Read

Responses

Status

Description

Body

200

Success.

TaggingConventionEntry

404

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

200

Success.

TaggingConventionEntry

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

Delete the tenant tagging convention and its normalized tags#

DELETE /finops/allocation/tagging/convention

Permissions: FinOps.Allocation/Write

Responses

Status

Description

Body

204

Success, no content.

404

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

200

Success.

TaggingConventionSuggestion

503

Service Unavailable

ProblemDetails

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

200

Success.

TaggingEvaluationSummary

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

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

key

query

string

No

status

query

TaggingResourceStatus

No

search

query

string

No

page

query

integer (int32)

No

pageSize

query

integer (int32)

No

Responses

Status

Description

Body

200

Success.

ListTaggingResourcesResponse

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

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

format

query

TaggingRemediationFormat

No

Responses

Status

Description

Body

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

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

key

query

string

No

search

query

string

No

page

query

integer (int32)

No

pageSize

query

integer (int32)

No

Responses

Status

Description

Body

200

Success.

ListTaggingCloudChangesResponse

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

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

202

Accepted; the work continues asynchronously.

TaggingWriteRunEntry

400

The request is invalid. The body describes the validation errors.

ProblemDetails

404

The resource does not exist in the tenant.

409

The request conflicts with the current state of the resource.

ProblemDetails

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

200

Success.

TaggingWriteRunEntry

404

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

runId

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

TaggingWriteRunEntry

404

The resource does not exist in the tenant.