Harness Cloud Cost Management Anomalies API

Detect and review unusual cost patterns and anomalies.

Operations 2

GET /ccm/api/anomaly List anomalies #
GET /ccm/api/anomaly/{anomalyId} Get an anomaly #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/harness-cloud-cost-anomalies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

harness-cloud-cost-anomalies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness Cloud Cost Management Anomalies API
  description: The Harness Cloud Cost Management (CCM) API provides programmatic access to cloud cost data, perspectives, budgets, anomaly detection, and AI-driven recommendations across AWS, Azure, GCP, and Kubernetes environments. CCM enables FinOps practices by exposing granular cost details across namespaces, nodes, pods, accounts, and services.
  version: '1.0'
  contact:
    name: Harness Support
    url: https://developer.harness.io/docs/cloud-cost-management
    email: support@harness.io
  license:
    name: Harness Terms of Service
    url: https://harness.io/legal/terms
servers:
- url: https://app.harness.io
  description: Harness production endpoint
security:
- ApiKeyAuth: []
tags:
- name: Anomalies
  description: Detect and review unusual cost patterns and anomalies.
paths:
  /ccm/api/anomaly:
    get:
      tags:
      - Anomalies
      summary: List anomalies
      description: Returns the cost anomalies detected in the account.
      operationId: listAnomalies
      parameters:
      - $ref: '#/components/parameters/AccountIdentifier'
      responses:
        '200':
          description: A list of anomalies.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Anomaly'
  /ccm/api/anomaly/{anomalyId}:
    get:
      tags:
      - Anomalies
      summary: Get an anomaly
      operationId: getAnomaly
      parameters:
      - $ref: '#/components/parameters/AccountIdentifier'
      - name: anomalyId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: A single anomaly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Anomaly'
components:
  schemas:
    Anomaly:
      type: object
      properties:
        id:
          type: string
        accountId:
          type: string
        actualCost:
          type: number
          format: double
        expectedCost:
          type: number
          format: double
        anomalyScore:
          type: number
          format: double
        anomalyTime:
          type: integer
          format: int64
        cloudProvider:
          type: string
          enum:
          - AWS
          - AZURE
          - GCP
          - CLUSTER
        resourceName:
          type: string
        resourceInfo:
          type: string
        userFeedback:
          type: string
          enum:
          - TRUE_ANOMALY
          - FALSE_ANOMALY
          - NOT_RESPONDED
  parameters:
    AccountIdentifier:
      name: accountIdentifier
      in: query
      required: true
      schema:
        type: string
      description: The Harness account identifier.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Harness Personal Access Token or Service Account API key.