Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Harness Cloud Cost Management Cost Categories API

Allocate and chargeback cloud costs by business units.

Harness Cloud Cost Management Cost Categories API is one of 6 APIs that Harness Cloud Cost Management publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Cost Categories. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and an API reference.

This API exposes 2 operations across 1 path, and defines 1 schema. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://app.harness.io.

2 operations 1 paths 1 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://app.harness.io
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Harness Cloud Cost Management Cost Categories API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — Harness Personal Access Token or Service Account API key.

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Cost Categories 2

Allocate and chargeback cloud costs by business units.

GET
/ccm/api/business-mapping
List cost categories
listCostCategories 1 param → 200
POST
/ccm/api/business-mapping
Create a cost category
createCostCategory 1 param body → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is CostCategory (6 properties). Each schema is shown below with its type and property counts.

CostCategory
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

harness-cloud-cost-cost-categories-api-openapi.yml Raw ↑

Other APIs Harness Cloud Cost Management publishes across the network.

Harness Cloud Cost Management Anomalies API
Harness Cloud Cost Management Budgets API
Harness Cloud Cost Management Connectors API
Harness Cloud Cost Management Perspectives API
Harness Cloud Cost Management Recommendations API