Harness Cloud and AI cost anomalies v2 API

Get details about any anomalies in your cloud and AI costs

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /ccm/api/anomaly/v2/list List cloud cost anomalies · Get anomalies list #
Ask an LLM
“Which unexpected cloud cost spikes has Harness detected in my account?”
“Can I include anomalies I previously whitelisted in the list?”
Tell an agent
List cost anomalies for account {account}.
List cost anomalies matching filters {filters} in account {account}.
POST /ccm/api/anomaly/v2/metrics Get metrics for each type of cost anomaly · Get anomaly metrics #
Ask an LLM
“How many cost anomalies of each type do I have, and what's their cost impact?”
“What are the anomaly metrics broken down by anomaly type?”
Tell an agent
Get anomaly metrics by type for account {account}.
Break down cost anomaly metrics by type for perspective query {perspective} (account {account}).
POST /ccm/api/anomaly/v2/summary Summarize cost anomaly metrics · Get anomaly metrics summary #
Ask an LLM
“What's the headline summary of my cost anomalies right now?”
“Can I get a single rolled-up summary of anomaly totals for a perspective?”
Tell an agent
Summarize cost anomaly metrics for account {account}.
Give me the rolled-up anomaly summary for filters {filters} in account {account}.
POST /ccm/api/anomaly/v2/metrics/time-series Chart cost anomaly metrics per day · Get anomaly metrics time-series #
Ask an LLM
“How have cost anomalies trended day by day?”
“Can I see a daily time series of anomalies for each anomaly type?”
Tell an agent
Get the daily anomaly time series for account {account}.
Plot per-day anomaly metrics using filters {filters} for account {account}.
POST /ccm/api/anomaly/v2/mean-resolution-time Get the mean time to resolve cost anomalies · Get mean resolution time #
Ask an LLM
“How long does my team take on average to resolve a cost anomaly?”
“What's the mean resolution time for anomalies in one perspective?”
Tell an agent
Get the mean anomaly resolution time for account {account}.
Calculate average time to resolve anomalies matching {filters} in account {account}.
PUT /ccm/api/anomaly/v2/update/feedback Give feedback on a detected cost anomaly · Update feedback for given anomaly #
Ask an LLM
“How do I tell Harness whether a flagged cost anomaly was real or a false alarm?”
“Can I record feedback on a specific anomaly?”
Tell an agent
Mark anomaly {anomaly} with feedback {feedback} in account {account}.
Flag cost anomaly {anomaly} as a false alarm in account {account}.
PUT /ccm/api/anomaly/v2/update/status Change the status of a cost anomaly · Update status for given anomaly #
Ask an LLM
“How do I mark a cost anomaly as resolved or archived?”
“Can I update the status of one anomaly by ID?”
Tell an agent
Set anomaly {anomaly} to status {status} in account {account}.
Resolve cost anomaly {anomaly} for account {account}.

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:harness-cloud-and-ai-cost-anomalies-v2-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-and-ai-cost-anomalies-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness Cloud and AI cost anomalies v2 API
  version: '1.0'
  description: The Harness Software Delivery Platform uses OpenAPI Specification v3.0.
  contact:
    name: API Support
    email: contact@harness.io
    url: https://harness.io/
  x-logo:
    url: https://mma.prnewswire.com/media/779232/Harnes_logo_horizontal.jpg?p=facebook
    altText: Harness
  termsOfService: https://harness.io/terms-of-use/
servers:
- url: https://app.harness.io
  description: Harness host URL
- url: https://{vanity}
  description: Vanity URL
  variables:
    vanity:
      default: app.harness.io
security:
- x-api-key: []
tags:


# --- truncated at 32 KB (96 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/openapi/harness-cloud-and-ai-cost-anomalies-v2-api-openapi.yml