Harness Recommendations API

Recommendations for workloads and node pools.

Operations 12

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/recommendation/overview/stats/applied Get savings from applied recommendations by resource · Returns Applied Recommendations statistics grouped by Resource type with total… #
Ask an LLM
“How much have we saved from cost recommendations we already applied, per resource type?”
“Which resource types delivered the biggest savings after applying recommendations?”
Tell an agent
Show applied recommendation savings by resource type for account {account}.
Get applied savings by resource type over the last {days} days.
POST /ccm/api/recommendation/overview/change-inference-status Verify or reject an inferred recommendation · Return void #
Ask an LLM
“Can I mark an inferred cost recommendation as verified or rejected?”
“Is there a way to leave a comment when rejecting an inferred recommendation?”
Tell an agent
Set inference status of recommendation {rec} to {status}.
Reject inferred recommendation {rec} with status {status} and comment {comment}.
POST /ccm/api/recommendation/overview/change-state Mark a recommendation as applied or open · Return void #
Ask an LLM
“How do I mark a cost recommendation as applied?”
“Can I record the savings I actually got when applying a recommendation?”
Tell an agent
Mark recommendation {rec} as {state}.
Set recommendation {rec} to {state} with applied savings {savings}.
POST /ccm/api/recommendation/overview/count Count cost recommendations · Return the number of Recommendations #
Ask an LLM
“How many cost recommendations do we have right now?”
“Can I count only recommendations above a minimum saving?”
Tell an agent
Count recommendations for account {account}.
Count recommendations saving at least {min}.
POST /ccm/api/recommendation/overview/filter-values List values for recommendation filters · Return the list of filter values for the Recommendations #
Ask an LLM
“What values can I pick for each recommendation filter column?”
“Which clusters or namespaces show up as recommendation filter values?”
Tell an agent
Get recommendation filter values for columns {columns}.
List distinct recommendation filter values in account {account}.
GET /ccm/api/recommendation/overview/supported-filters List supported recommendation filter fields · Return list of supported recommendation filters #
Ask an LLM
“Which fields am I allowed to filter recommendations on?”
“What filter field IDs does the recommendations API support?”
Tell an agent
List supported recommendation filter fields for account {account}.
Show which filter IDs recommendations accept in account {account}.
POST /ccm/api/recommendation/overview/iacm Get recommendations for IaCM-managed resources · Return Recommendations for IaCM Resources #
Ask an LLM
“Can I get cost recommendations for resources managed by Terraform in IaCM?”
“Which recommendations apply to cloud resources identified by their ARNs?”
Tell an agent
Get recommendations for IaCM resources {resources}.
Find recommendations in state {states} for IaCM resources {resources}.
POST /ccm/api/recommendation/overview/list List cost recommendations · Return the list of Recommendations #
Ask an LLM
“What cost-saving recommendations are open for my cloud resources?”
“Can I list recommendations sorted by potential savings?”
Tell an agent
List recommendations for account {account}.
List recommendations with minimum cost {cost}, sorted by {sort}.
PUT /ccm/api/recommendation/overview/override-savings Override a recommendation's savings figure · Return boolean #
Ask an LLM
“Can I correct the savings amount shown on a recommendation?”
“Is it possible to override estimated savings with my own number?”
Tell an agent
Override savings on recommendation {rec} to {amount}.
Set recommendation {rec} savings to {amount}.
POST /ccm/api/recommendation/overview/realized-savings Get realized savings over time · Return time series statistics for realized savings with date information #
Ask an LLM
“How have realized savings from applied recommendations grown over time?”
“Can I see realized savings aggregated by week or month?”
Tell an agent
Show realized savings as a time series aggregated by {period}.
Get the realized savings timeline for account {account}.
POST /ccm/api/recommendation/overview/resource-type/stats Get recommendation stats by resource type · Return Recommendations statistics Grouped on Resource Type #
Ask an LLM
“How are open recommendations spread across resource types?”
“Which resource type has the most potential savings in open recommendations?”
Tell an agent
Break down recommendation stats by resource type for account {account}.
Group recommendation statistics by resource type for the last {days} days.
POST /ccm/api/recommendation/overview/stats Get overall recommendation statistics · Return Recommendations statistics #
Ask an LLM
“What are the total potential savings across all my recommendations?”
“Can I get summary statistics for recommendations matching a filter?”
Tell an agent
Get overall recommendation statistics for account {account}.
Summarize recommendation stats with minimum saving {min}.

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-recommendations-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-recommendations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness Recommendations 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 (101 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/openapi/harness-recommendations-api-openapi.yml