Harness · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Harness Evaluate API

2 actions 2 updates phrasing extends openapi/harness-evaluate-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['/pm/api/v1/evaluate'].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 Evaluate API
  version: 1.0.0
extends: openapi/harness-evaluate-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['/pm/api/v1/evaluate'].post
  update:
    x-apievangelist-phrasing:
      intent: Evaluate a Rego policy against input
      effect: read
      questions:
      - Can I test an OPA Rego policy against sample JSON before saving it?
      - How do I run arbitrary Rego against an input and see the result?
      instructions:
      - text: Evaluate this Rego {rego} against input {input}.
        slots:
          rego: requestBody.rego
          input: requestBody.input
      - text: Run policy {rego} on the payload {input} in project {project}.
        slots:
          rego: requestBody.rego
          input: requestBody.input
          project: query.projectIdentifier
      method: generated
      generated: '2026-09-26'