capabilities.work

Get an entity's YAML for policy evaluation

One step with Harness. We can help you get access.

Look something up

Get an entity's YAML for policy evaluation

with Harness
Works with AI assistants

Use Harness: its Harness Evaluations API lets you get an entity's YAML for policy evaluation in a single step (GET /pm/api/v1/evaluations/getYaml). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • 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?
Say it to your AI assistant
  • Get the YAML for {entity_type} {entity_id}.
  • Fetch the {entity_type} {entity_id} YAML from branch {branch}.
For your developer

GET /pm/api/v1/evaluations/getYaml in Harness Evaluations API. Full spec on APIs.io.