How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Harness Cost Details API

Fetch cloud and AI cost data for cost analysis

Harness Cost Details API is one of 488 APIs that Harness publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 5 operations across 5 paths, and defines 31 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: https://app.harness.io, https://{vanity}.

5 operations 5 paths 31 schemas 5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://app.harness.io
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

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

  • x-api-key — API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.

Paths & Operations 5

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

Cost Details 5

Fetch cloud and AI cost data for cost analysis

POST
/ccm/api/costdetails/overview/iacm
Returns cost overview for IaCM resources
iacmResourceCostOverview 1 param body → 400500default
POST
/ccm/api/costdetails/overview
Returns an overview of the cost
costdetailoverview 6 params body → 400500default
POST
/ccm/api/costdetails/clusterData
Returns cluster data in a tabular format
clusterData 5 params body → 400500default
POST
/ccm/api/costdetails/tabularformat
Returns cost details in a tabular format
costdetailtabular 6 params body → 400500default
POST
/ccm/api/costdetails/timeseriesformat
Returns cost details in a time series format
costdetailttimeseries 6 params body → 400500default

Schemas 31

The contract defines 31 schemas that model the data the API accepts and returns. The most detailed are ClusterCostDetailsQueryParams (9 properties), ClusterCostDetails (8 properties), CostDetailsQueryParams (8 properties), CcmError (7 properties). Each schema is shown below with its type and property counts.

TimeSeriesDataPoints
object
2 properties
ResponseDTOPerspectiveTimeSeriesData
object
4 properties
IacmResourceCostRequest
object
Request to get costs for IaCM-managed cloud resources
1 property 1 required
ResponseDTOListClusterCostDetails
object
4 properties
CcmDataPoint
object
2 properties
PerspectiveEntityStatsData
object
1 property
ClusterCostDetails
object
Details of cluster cost
8 properties
ValidationError
object
2 properties
ClusterCostDetailsQueryParams
object
Common query parameters for all cluster cost details APIs
9 properties
IacmCostResource
object
An IaCM-managed cloud resource for cost lookup
3 properties 3 required
K8sLabel
object
2 properties
CCMK8sEntity
object
3 properties
ViewParams
object
Optional parameters for perspective GraphQL queries
2 properties
QLCEViewEntityStatsDataPoint
object
6 properties
CcmError
object
This is Error entity as defined in Harness
7 properties
CCMAggregation
object
Fields which will be aggregated in the response
2 properties
IacmResourceCostPeriod
object
Cost for a fixed IaCM resource cost period
3 properties
ResponseDTOPerspectiveEntityStatsData
object
4 properties
ResponseDTOCostOverview
object
4 properties
CcmErrorMetadata
object
This implements different error meta data objects
1 property
Failure
object
This is Failure entity as defied in Harness
5 properties
PerspectiveTimeSeriesData
object
7 properties
CcmReference
object
3 properties
CostDetailsQueryParams
object
Common query parameters for all cost details APIs
8 properties
ResponseMessage
object
7 properties
IacmResourceCost
object
Cost lookup result for a single IaCM-managed cloud resource
7 properties 1 required
IacmResourceCosts
object
Response containing costs for IaCM-managed cloud resources
1 property 1 required
CostOverview
object
Overview of the cost.
2 properties
CCMEcsEntity
object
3 properties
FieldFilter
object
Filters return values as per the field, operator & List of string values provided
3 properties
ResponseDTOIacmResourceCosts
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

harness-cost-details-api-openapi.yml Raw ↑

Other APIs Harness publishes across the network.

Harness Continuous Integration API
Harness Continuous Delivery and GitOps API
Harness Feature Management and Experimentation API
Harness Cloud Cost Management API
Harness Chaos Engineering API
Harness Security Testing Orchestration API
Harness Internal Developer Portal API
Harness Code Repository API
Harness Service Reliability Management API
Harness Infrastructure as Code Management API
Harness Supply Chain Security API
Harness Software Engineering Insights API
Where this information came from

This is an independent, third-party profile of Harness Cost Details API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.