Harness Rule Executions API

This contains APIs related to Rule Executions

Operations 13

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

POST /ccm/api/governance/execution/export Export governance rule evaluation data · Export evaluations data #
Ask an LLM
“Can I export my cloud governance rule evaluations for offline analysis?”
“Is it possible to include resource files, logs and rule YAML in an evaluations export?”
Tell an agent
Export governance evaluations for account {account} matching filter {filter}.
Export evaluations for account {account} matching {filter} as CSV, including logs and rule YAML.
POST /ccm/api/governance/execution/list List governance rule executions · Fetch RuleExecutions for account #
Ask an LLM
“Which cloud governance rules have run in my Harness account recently?”
“Can I filter the list of rule executions by policy execution criteria?”
Tell an agent
List governance rule executions for account {account}.
Fetch rule executions in account {account} matching filter {filter}.
GET /ccm/api/governance/execution/filter-value Get filter options for rule executions · Rule Execution Filter Values #
Ask an LLM
“What values can I filter governance rule executions by?”
“Which filter choices are available for the rule execution list?”
Tell an agent
Get the available rule execution filter values for account {account}.
Show which filter options I can use on rule executions in account {account}.
GET /ccm/api/governance/execution/{ruleExecutionId} Get one governance rule execution · Get rule execution #
Ask an LLM
“What was the outcome of a specific governance rule execution?”
“Can I look up a single rule execution by its ID?”
Tell an agent
Get rule execution {execution} in account {account}.
Show the summary of governance run {execution} of type {type} in account {account}.
GET /ccm/api/governance/actionedResources/{ruleExecutionId} List resources a rule execution acted on · Return actioned resources for a rule execution #
Ask an LLM
“Which cloud resources did a governance rule actually take action on?”
“Can I see what a rule execution changed, not just what it evaluated?”
Tell an agent
List the actioned resources for rule execution {execution} in account {account}.
Show which resources governance run {execution} took action on in account {account}.
GET /ccm/api/governance/execution/details/{ruleExecutionId} Get resource files or logs for a rule execution · Resources/logs for a rule execution #
Ask an LLM
“Can I pull the resource file for one resource in a governance run?”
“Where do I get detail files for a sub-rule within a rule execution?”
Tell an agent
Get the {file_type} file for rule execution {execution} in account {account}.
Get details for resource {resource} under sub-rule {sub_rule} in rule execution {execution}, account {account}.
GET /ccm/api/governance/granularStatus/{ruleExecutionId} Get per-resource status for a rule execution · Return resource for a rule execution #
Ask an LLM
“What is the granular status of each resource in a governance rule run?”
“Did a particular resource pass or fail within a rule execution?”
Tell an agent
Get the granular status of rule execution {execution} in account {account}.
Show the granular status of resource {resource} in rule execution {execution}, account {account}.
GET /ccm/api/governance/logs/{ruleExecutionId} Get logs for a rule execution · Return logs for a rule execution #
Ask an LLM
“Where can I read the logs from a governance rule execution?”
“Can I debug a failed rule run by looking at its logs?”
Tell an agent
Get the logs for rule execution {execution} in account {account}.
Show me why governance run {execution} failed by fetching its logs in account {account}.
GET /ccm/api/governance/ruleYaml/{ruleExecutionId} Get the rule YAML used by an execution · Return governance rule yaml for a rule execution #
Ask an LLM
“Which exact governance rule YAML was evaluated in a given run?”
“Can I see the policy definition that a past rule execution used?”
Tell an agent
Get the governance rule YAML for rule execution {execution} in account {account}.
Show the policy YAML that run {execution} evaluated in account {account}.
GET /ccm/api/governance/status/{ruleExecutionId} Get the resources evaluated by a rule execution · Return resources for a rule execution #
Ask an LLM
“Which resources did a governance rule execution evaluate?”
“Can I get the status output listing resources for one rule run?”
Tell an agent
Get the status and evaluated resources for rule execution {execution} in account {account}.
List the resources evaluated in governance run {execution} of type {type} for account {account}.
POST /ccm/api/governance/execution/ruleLastExecution Find the last execution of given rules · Find last execution given rules list #
Ask an LLM
“When did each of my governance rules last run?”
“Can I get the most recent execution for a list of rules at once?”
Tell an agent
Find the last execution for my governance rules in account {account}.
Show the most recent run of each rule in my list for account {account}.
GET /ccm/api/governance/execution/refreshCost/{ruleExecutionId} Refresh cost figures for a rule execution · Refresh cost for a rule execution #
Ask an LLM
“Can I recalculate the cost impact of a governance rule execution?”
“What do I call to refresh potential savings on one rule run?”
Tell an agent
Refresh the cost for rule execution {execution} in account {account}.
Recompute the savings figures for governance run {execution} of type {type} in account {account}.
POST /ccm/api/governance/execution/filter-value/tags Get tag values for filtering rule executions · Rule Execution Tag Filter Values #
Ask an LLM
“Which cloud resource tag values show up across my governance runs for a given tag key?”
“Can I search the values of a specific tag key across rule executions?”
Tell an agent
List values of tag {tag_key} for rule executions in account {account}.
Search tag {tag_key} values matching {search} on rule executions in account {account}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/harness:harness-rule-executions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

harness-rule-executions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness Rule Executions API
  version: '1.0'
  description: The Harness Software Delivery Platform uses OpenAPI Specification v3.0.
  contact:
    name: API Support
    email: contact@harness.io
    url: https://harness.io/
  x-logo:
    url: https://mma.prnewswire.com/media/779232/Harnes_logo_horizontal.jpg?p=facebook
    altText: Harness
  termsOfService: https://harness.io/terms-of-use/
servers:
- url: https://app.harness.io
  description: Harness host URL
- url: https://{vanity}
  description: Vanity URL
  variables:
    vanity:
      default: app.harness.io
security:
- x-api-key: []
tags:


# --- truncated at 32 KB (107 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/openapi/harness-rule-executions-api-openapi.yml