Operations 4
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
Ask an LLM
“Which policy evaluations failed in my project recently?”
“Can I list policy evaluations for one pipeline execution?”
Tell an agent
List policy evaluations with status {status}.
Show policy evaluations for execution {execution_id}.
GET
/pm/api/v1/evaluations/evaluation-input-signed-url/{evaluation_id}
Get a download link for an evaluation's input · Get signed URL for evaluation input
#
Ask an LLM
“How do I download the input that was evaluated when it was offloaded to storage?”
“Can I get a signed URL for a policy evaluation's input payload?”
Tell an agent
Get a signed URL for the input of evaluation {evaluation_id}.
Give me a download link for the policy input of evaluation {evaluation_id}.
GET
/pm/api/v1/evaluations/getYaml
Get an entity's YAML for policy evaluation · Evaluations#get yaml
#
Ask an LLM
“Can I fetch the YAML of a pipeline or other entity that policies are evaluated against?”
“How do I get an entity's YAML from a specific Git branch for policy checks?”
Tell an agent
Get the YAML for {entity_type} {entity_id}.
Fetch the {entity_type} {entity_id} YAML from branch {branch}.
Ask an LLM
“Which policies passed or failed in one specific evaluation?”
“How do I open a single policy evaluation's result?”
Tell an agent
Get policy evaluation {evaluation_id}.
Show the result of evaluation {evaluation_id} in project {project}.
Documentation
Documentation
https://apidocs.harness.io
APIReference
https://apidocs.harness.io
GettingStarted
https://developer.harness.io/docs/platform/automation/api/api-quickstart/
Authentication
https://artifacts.apis.io/harness/authentication/harness-authentication.yml
RateLimits
https://artifacts.apis.io/harness/rate-limits/harness-rate-limits.yml
Specifications
Other Resources
OAuthScopes
https://artifacts.apis.io/harness/scopes/harness-scopes.yml
ErrorCatalog
https://artifacts.apis.io/harness/errors/harness-error-codes.yml
Conventions
https://artifacts.apis.io/harness/conventions/harness-conventions.yml
Idempotency
https://artifacts.apis.io/harness/conventions/harness-conventions.yml