Harness · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Harness Costs API

3 actions 3 updates phrasing extends openapi/harness-costs-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Harness's API. It is a proposal applied on top of the contract, not a document Harness publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/iacm/api/orgs/{org}/projects/{project}/costs'].get
$.paths['/iacm/api/orgs/{org}/projects/{project}/costs/{workspace}'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Harness Costs API
  version: 1.0.0
extends: openapi/harness-costs-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 2
- target: $.paths['/iacm/api/orgs/{org}/projects/{project}/costs'].get
  update:
    x-apievangelist-phrasing:
      intent: List monthly infrastructure cost per workspace
      effect: read
      questions:
      - What does each IaCM workspace in my project cost per month?
      - Can I compare monthly infrastructure costs across selected workspaces?
      instructions:
      - text: List monthly costs per workspace in project {project} of org {org}.
        slots:
          project: path.project
          org: path.org
      - text: Show workspace costs in {org}/{project} from {start} to {end}.
        slots:
          org: path.org
          project: path.project
          start: query.start_time
          end: query.end_time
      method: generated
      generated: '2026-09-26'
- target: $.paths['/iacm/api/orgs/{org}/projects/{project}/costs/{workspace}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one workspace's cost by execution
      effect: read
      questions:
      - Which executions changed the cost of a particular workspace?
      - What has a single workspace cost over time?
      instructions:
      - text: Show the cost of workspace {workspace} in {org}/{project} correlated with executions.
        slots:
          workspace: path.workspace
          org: path.org
          project: path.project
      - text: Get costs for workspace {workspace} in project {project} of org {org} since {start}.
        slots:
          workspace: path.workspace
          project: path.project
          org: path.org
          start: query.start_time
      method: generated
      generated: '2026-09-26'