Harness Cost Categories API

Allows you to categorize based on business requirements and get a contextual view of your expenses.

Operations 6

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

GET /ccm/api/business-mapping/{id} Get a cost category · Fetch details of a Cost category #
Ask an LLM
“What cost buckets and rules make up a particular cost category?”
“Can I view one cost category's shared cost settings?”
Tell an agent
Show cost category {id}.
Get the buckets and rules of cost category {id}.
DELETE /ccm/api/business-mapping/{id} Delete a cost category · Delete a Cost category #
Ask an LLM
“How do I delete a cost category?”
“Why would deleting a cost category fail when perspectives use it?”
Tell an agent destructive · confirm first
Delete cost category {id}.
Remove cost category {id} if no perspectives use it.
GET /ccm/api/business-mapping/filter-panel Get cost categories for the recommendation filters · Get (cost-categories)/(cost buckets) for recommendation filter panel #
Ask an LLM
“Which cost categories and buckets can I filter recommendations by?”
“Can I search cost buckets for the recommendations filter panel?”
Tell an agent
List cost buckets of {costCategory} for the recommendation filter panel.
Search recommendation filter cost categories for {search}.
GET /ccm/api/business-mapping List cost categories · Return details of all the Cost categories #
Ask an LLM
“What cost categories are set up in my account?”
“Can I search cost categories by name?”
Tell an agent
List all cost categories.
Search cost categories for {searchKey}.
PUT /ccm/api/business-mapping Update a cost category · Update a Cost category #
Ask an LLM
“How do I change the buckets or rules on an existing cost category?”
“Can I rename a cost category?”
Tell an agent
Update cost category {uuid} to name {name} for account {accountId}.
Change the cost buckets of cost category {uuid} to {costTargets}, keeping name {name} and account {accountId}.
POST /ccm/api/business-mapping Create a cost category · Create a Cost Category #
Ask an LLM
“How do I allocate cloud costs by team or business unit?”
“Can a new cost category split shared costs across buckets?”
Tell an agent
Create cost category {name} for account {accountId}.
Create cost category {name} in account {accountId} with buckets {costTargets} and shared costs {sharedCosts}.

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