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 Costs API

Costs Service handles the API related with the costs attached to workspaces.This API is read only as all the cost are generated in the plugin side

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

Tagged areas include Costs. 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 2 operations across 2 paths, and defines 5 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}.

2 operations 2 paths 5 schemas 2 GET

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 Costs 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 2

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

Costs 2

Costs Service handles the API related with the costs attached to workspaces. This API is read only as all the cost are generated in the plugin side

GET
/iacm/api/orgs/{org}/projects/{project}/costs
List costs
costs#list-costs 8 params → 200400401403404408409423
GET
/iacm/api/orgs/{org}/projects/{project}/costs/{workspace}
List costs per workspace
costs#list-costs-per-workspace 8 params → 200400401403404408409423

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are HarnessIacmCostsresources (11 properties), IaCMError (6 properties), HarnessIacmMonthlycost (5 properties), ListCostsResponse (4 properties). Each schema is shown below with its type and property counts.

ListCostsResponse
object
4 properties 3 required
HarnessIacmCostsresources
object
CostResource is the representation for a single workspace of the cost and metadata that ties the cost to an execution.
11 properties 12 required
HarnessIacmMonthlycost
object
MonthlyCost is the cost of a workspace per month
5 properties 5 required
IaCMError
object
6 properties 6 required
CostResourceCollection
array

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

harness-costs-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 Costs 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.