Harness Usage API

This contains APIs specific to CD license usage

Operations 18

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 /ng/api/license-usage-cd/v2/{usageType}/csv/download Download the CD license usage CSV report · Download CD Usage CSV report #
Ask an LLM
“How do I export my Continuous Delivery license usage as a CSV?”
“Can I download CD usage broken out by usage type, like services versus service instances?”
Tell an agent
Download the CD usage CSV report for usage type {usageType}.
Export the {usageType} CD license usage CSV as of {timestamp}.
GET /ng/api/usage/cd/active-services/csv/download Download active CD services CSV (platform) · Download CSV Active Services report #
Ask an LLM
“Where can I get a CSV of the CD services that counted as active for licensing?”
“Can I pull the platform's active services report as a spreadsheet for a given date?”
Tell an agent
Download the platform active services CSV report.
Export the NG active CD services CSV for timestamp {timestamp}.
GET /ng/api/usage/CD/serviceInstancesLicense Get CD service-instance license usage (platform) · Gets License Usage By Module, Timestamp, and Account Identifier #
Ask an LLM
“How many CD service instances am I consuming against my license?”
“What does service-instance-based CD license usage look like on the platform endpoint?”
Tell an agent
Show my CD service-instance license usage on the platform.
Get NG service instances license usage for account {accountIdentifier} at {timestamp}.
GET /ng/api/usage/CD/servicesLicense Get CD services license usage (platform) · Gets License Usage By Module, Timestamp, and Account Identifier #
Ask an LLM
“How many licensed CD services is my account using right now?”
“What is my services-based CD license consumption from the platform usage endpoint?”
Tell an agent
Show my CD services license usage on the platform.
Get NG services-based license usage for account {accountIdentifier} as of {timestamp}.
GET /ng/api/usage/{module} Get license usage for a module (platform) · Gets License Usage By Module, Timestamp, and Account Identifier #
Ask an LLM
“How much of my license is a given Harness module consuming?”
“Can I check usage for a module filtered by CD license type?”
Tell an agent
Get platform license usage for module {module}.
Show NG usage of module {module} for CD license type {CDLicenseType} at {timestamp}.
GET /ccm/api/usage/cd/active-services/csv/download Download active CD services CSV via CCM · Download CSV Active Services report #
Ask an LLM
“Can I get the active services CSV from the Cloud Cost Management service path?”
“Where does the CCM service expose a spreadsheet of active CD services?”
Tell an agent
Download the active services CSV through the CCM usage endpoint.
Export the CCM copy of the active services report for {timestamp}.
GET /ccm/api/usage/CD/serviceInstancesLicense Get CD service-instance license usage via CCM · Gets License Usage By Module, Timestamp, and Account Identifier #
Ask an LLM
“Does the CCM service report CD service-instance license usage too?”
“What service instance consumption does the cost management usage path return?”
Tell an agent
Get service instances license usage from the CCM endpoint.
Show CCM-reported service-instance usage for account {accountIdentifier} at {timestamp}.
GET /ccm/api/usage/CD/servicesLicense Get CD services license usage via CCM · Gets License Usage By Module, Timestamp, and Account Identifier #
Ask an LLM
“Can the Cloud Cost Management service tell me my CD services license usage?”
“What services-based consumption does the CCM usage path report?”
Tell an agent
Get services license usage from the CCM endpoint.
Show CCM-reported services usage for account {accountIdentifier} at time {timestamp}.
GET /ccm/api/usage/{module} Get license usage for a module via CCM · Gets License Usage By Module, Timestamp, and Account Identifier #
Ask an LLM
“Can I look up a module's license usage through the CCM service?”
“Does the cost management usage path accept a CD license type filter?”
Tell an agent
Get module {module} license usage from the CCM service.
Show CCM usage of {module} for license type {CDLicenseType}.
GET /cv/api/usage/SRM/active-monitored-services/csv/download Download active monitored services CSV (SRM) · Download CSV Active Monitored Services report #
Ask an LLM
“How do I export a CSV of my active monitored services in Service Reliability Management?”
“Can I download the SRM active monitored services report for a past date?”
Tell an agent
Download the SRM active monitored services CSV.
Export active monitored services as CSV for {timestamp}.
GET /cv/api/usage/SRM/active-services-monitored/csv/download Download active services monitored CSV (SRM) · Download CSV Active Services Monitored report #
Ask an LLM
“Where can I get the SRM 'active services monitored' spreadsheet?”
“Can I export which services counted as monitored for SRM licensing?”
Tell an agent
Get the spreadsheet of services monitored under SRM.
Export the services-monitored SRM CSV for account {accountIdentifier}.
GET /cv/api/usage/CV Get Continuous Verification license usage · Cvget license usage #
Ask an LLM
“How much Continuous Verification license is my account using?”
“Can I check CV usage as of a particular timestamp?”
Tell an agent
Get Continuous Verification usage for account {accountIdentifier}.
Show CV module license usage for {accountIdentifier} at {timestamp}.
GET /cv/api/usage/SRM Get Service Reliability Management license usage · Get SRM license usage #
Ask an LLM
“What is my Service Reliability Management license consumption?”
“Can I see SRM usage totals for my account at a point in time?”
Tell an agent
Get SRM license usage for account {accountIdentifier}.
Show Service Reliability Management usage for {accountIdentifier} as of {timestamp}.
POST /cv/api/usage/SRM/active-monitored-services List active monitored services for SRM · Returns a List of active monitored services along with identifier,Active… #
Ask an LLM
“Which monitored services are currently active and counting toward SRM licensing?”
“Can I filter the active monitored services list by project or service?”
Tell an agent
List active monitored services in project {projectIdentifier}.
Show active monitored service details for service {serviceIdentifier} in org {orgIdentifier}.
GET /sto/api/usage Report STO usage for an account · Usage#Report usage #
Ask an LLM
“How much Security Testing Orchestration usage has my account recorded?”
“Can I get STO usage for a specific time interval?”
Tell an agent
Report STO usage for account {accountId} at {timestamp}.
Show security testing usage for {accountId} over interval {interval} ending {timestamp}.
GET /sto/api/usage/all-accounts Report STO usage across all accounts · Usage#Usage all accounts #
Ask an LLM
“Is there a way to see Security Testing Orchestration usage for every account at once?”
“What STO usage did all accounts record over a given interval?”
Tell an agent
Report STO usage for all accounts at {timestamp}.
Show every account's security testing usage for interval {interval} up to {timestamp}.
PUT /iacm/api/enforcement/client/usage/{metric} Show IaCM usage for one enforcement metric · Show usage #
Ask an LLM
“How close is my account to an Infrastructure as Code Management usage limit?”
“Can I read the current value of a single IaCM enforcement metric?”
Tell an agent
Show IaCM usage for metric {metric} in account {accountIdentifier}.
Get the enforcement usage value of {metric} for {accountIdentifier}.
GET /iacm/api/usage/check-licence Check whether the account has an IaCM licence · Show licence #
Ask an LLM
“Is my account currently licensed for Infrastructure as Code Management?”
“How can I verify an IaCM licence is active before running workspaces?”
Tell an agent
Check whether account {account} is licensed for IaCM.
Confirm the IaCM licence status of {account}.

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