Harness · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Harness Prometheus Data Retrieval API

2 actions 2 updates phrasing extends openapi/harness-prometheus-data-retrieval-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 2

$.info
$.paths['/v1/iro/get-sync-data-collection-result'].post

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 Prometheus Data Retrieval API
  version: 1.0.0
extends: openapi/harness-prometheus-data-retrieval-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: 1
- target: $.paths['/v1/iro/get-sync-data-collection-result'].post
  update:
    x-apievangelist-phrasing:
      intent: Run a Prometheus query and return the data
      effect: read
      questions:
      - Can I run a PromQL query through Harness and get the results back right away?
      - What time range and step can I set when pulling Prometheus metrics?
      instructions:
      - text: Run Prometheus query {query} of type {type} from {start} to {end}.
        slots:
          query: requestBody.query
          type: requestBody.type
          start: requestBody.startTime
          end: requestBody.endTime
      - text: Fetch Prometheus data for {query} via connector {connector} with step {step}.
        slots:
          query: requestBody.query
          connector: requestBody.connectorRef
          step: requestBody.step
      method: generated
      generated: '2026-09-26'