Harness Remediation API

The Remediation API from Harness — 17 operation(s) for remediation.

Operations 21

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 /v1/orgs/{org}/projects/{project}/remediations Open a vulnerability remediation tracker · Create Remediation Tracker #
Ask an LLM
“How do I start tracking remediation of a vulnerable component across my Harness project?”
“Can I set a target end date and an owner contact when I open a remediation tracker?”
Tell an agent
Create a remediation tracker in org {org} project {project} due by {target_end_date}.
Open a remediation tracker for this vulnerability with condition {remediation_condition} and contact {contact}.
POST /v1/orgs/{org}/projects/{project}/remediations/list List remediation trackers in a project · List All Remediation Trackers #
Ask an LLM
“Which remediation trackers are open in my project right now?”
“Can I filter remediation trackers by CVE or by component name?”
Tell an agent
List all remediation trackers in project {project} of org {org}.
Show remediation trackers for CVE {cve_filter}.
PUT /v1/orgs/{org}/projects/{project}/remediations/{remediation} Update a remediation tracker's details · Update Remediation Tracker #
Ask an LLM
“Can I change the severity or target date on a remediation tracker that already exists?”
“What fields do I need to send when editing a remediation tracker?”
Tell an agent
Update remediation tracker {remediation} in {org}/{project} with severity {severity}.
Move the target end date of tracker {remediation} to {target_end_date}.
GET /v1/orgs/{org}/projects/{project}/remediations/overall-summary Summarize all remediation trackers · Get Remediation Tracker Overall summary #
Ask an LLM
“What does the overall remediation picture look like for my project?”
“Is there a roll-up summary across every remediation tracker?”
Tell an agent
Give me the overall remediation summary for project {project} in org {org}.
Show aggregate remediation tracker counts for {project}.
PUT /v1/orgs/{org}/projects/{project}/remediations/{remediation}/close Close a remediation tracker · Close Remediation Tracker #
Ask an LLM
“How do I mark a remediation tracker as closed once the fix has shipped?”
“Can I close out a vulnerability tracker before every artifact is patched?”
Tell an agent destructive · confirm first
Close remediation tracker {remediation} in org {org} project {project}.
Mark tracker {remediation} as done and closed.
PUT /v1/orgs/{org}/projects/{project}/remediations/{remediation}/exclude-artifact Exclude an artifact from a remediation tracker · Exclude Artifact from Remediation Tracker #
Ask an LLM
“Can I remove an artifact that isn't affected from a remediation tracker's scope?”
“How do I stop a specific image from counting against a remediation tracker?”
Tell an agent
Exclude artifact {artifact_id} from remediation tracker {remediation} in {org}/{project}.
Drop artifact {artifact_id} out of tracker {remediation}.
GET /v1/orgs/{org}/projects/{project}/remediations/{remediation}/details Get a remediation tracker's details · Get Remediation Details #
Ask an LLM
“What's the current state and scope of one specific remediation tracker?”
“Where can I see the vulnerability and contact info recorded on a tracker?”
Tell an agent
Show the details of remediation tracker {remediation} in org {org} project {project}.
Open tracker {remediation} and tell me its status.
POST /v1/orgs/{org}/projects/{project}/remediations/{remediation}/artifacts List artifacts tracked by a remediation · Get Artifact List for Remediations #
Ask an LLM
“Which artifacts are affected by a given remediation tracker?”
“Can I see only the artifacts still pending remediation, or filter by deployment status?”
Tell an agent
List the artifacts under remediation tracker {remediation} in {org}/{project}.
Show artifacts in tracker {remediation} with remediation status {remediation_status}.
GET /v1/orgs/{org}/projects/{project}/remediations/{remediation}/artifacts/{artifact}/environments List environments impacted for a tracked artifact · Get Environment List for Artifact In Remediation #
Ask an LLM
“Which environments is a vulnerable artifact deployed to under a remediation tracker?”
“Can I limit the impacted environment list to production or pre-production?”
Tell an agent
List environments running artifact {artifact} for remediation {remediation} in {org}/{project}.
Show only {EnvType} environments impacted by artifact {artifact} in tracker {remediation}.
GET /v1/orgs/{org}/projects/{project}/remediations/{remediation}/artifacts/{artifact}/details Get one artifact's details within a tracker · Get Details of a Artifact in a Remediation Tracker #
Ask an LLM
“What's the remediation status of a single artifact inside a tracker?”
“How far along is one specific image in being patched for this vulnerability?”
Tell an agent
Show details for artifact {artifact} in remediation tracker {remediation} under {org}/{project}.
Get the remediation progress of artifact {artifact} in tracker {remediation}.
POST /v1/orgs/{org}/projects/{project}/remediations/{remediation}/artifacts/{artifact}/deployments List deployments of a tracked artifact · Get Deployments List for Artifact In Remediation #
Ask an LLM
“Where and when was a vulnerable artifact deployed, according to its remediation tracker?”
“Can I filter an artifact's deployment list by environment?”
Tell an agent
List deployments of artifact {artifact} for tracker {remediation} in {org}/{project}.
Show deployments of artifact {artifact} in tracker {remediation} to environment {env_identifier}.
POST /v1/orgs/{org}/projects/{project}/remediations/{remediation}/create-ticket Create a ticket from a remediation tracker · Create Ticket #
Ask an LLM
“Can I raise an issue-tracker ticket straight from a remediation tracker?”
“What priority and issue type can I set on a ticket created for a remediation?”
Tell an agent
Create a ticket for remediation {remediation} in {org}/{project} titled {title}.
File a {priority} ticket in project key {project_key} for tracker {remediation}.
POST /v1/orgs/{org}/projects/{project}/remediations/check-artifacts Preview artifacts a remediation would cover · Check Artifacts And Deployments #
Ask an LLM
“Before opening a tracker, can I check which artifacts and deployments a remediation condition would match?”
“How many deployments would be affected by a remediation condition I'm considering?”
Tell an agent
Check which artifacts and deployments match remediation condition {remediation_condition} in {org}/{project}.
Dry-run the impact of condition {remediation_condition} without creating a tracker.
DELETE /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/remediation/config Turn off AI remediation for a workspace · Disable remediation #
Ask an LLM
“How do I switch AI remediation off for a workspace?”
“Can I stop AI from proposing fixes on one particular workspace?”
Tell an agent destructive · confirm first
Disable AI remediation on workspace {workspace} in {org}/{project}.
Switch off AI remediation for workspace {workspace}.
GET /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/remediation/config Check if AI remediation is on for a workspace · Get remediation config #
Ask an LLM
“Is AI remediation turned on for my infrastructure-as-code workspace?”
“How can I see a workspace's remediation config?”
Tell an agent
Check whether AI remediation is enabled for workspace {workspace} in {org}/{project}.
Get the remediation config of workspace {workspace}.
PUT /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/remediation/config Turn on AI remediation for a workspace · Enable remediation #
Ask an LLM
“How do I switch on AI remediation for an IaC workspace?”
“Can drift in a workspace be fixed automatically once AI remediation is enabled?”
Tell an agent
Enable AI remediation on workspace {workspace} in org {org} project {project}.
Turn AI remediation on for workspace {workspace}.
GET /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/remediation/drift-plan Download a drifted workspace's plan file · Get drift plan #
Ask an LLM
“Can I download the plan file behind a workspace's detected drift?”
“What happens if I ask for a drift plan on a workspace that isn't drifted?”
Tell an agent
Download the drift plan for workspace {workspace} in {org}/{project}.
Fetch the drift-detection plan binary for workspace {workspace}.
GET /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/remediation/runs List a workspace's remediation runs · List remediation runs #
Ask an LLM
“What remediation runs have happened on my IaC workspace?”
“Can I page through the history of remediation runs for a workspace?”
Tell an agent
List remediation runs for workspace {workspace} in {org}/{project}.
Show the last {limit} remediation runs on workspace {workspace}.
POST /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/remediation/runs Record a new remediation run · Create remediation run #
Ask an LLM
“How does the remediation pipeline plugin register a new run for a workspace?”
“Which fields identify who triggered a remediation run and what type it is?”
Tell an agent
Create a {remediation_type} remediation run on workspace {workspace} triggered by {triggered_by}.
Register a remediation run in {org}/{project} for pipeline execution {pipeline_execution_id}.
GET /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/remediation/runs/{id} Get one remediation run · Get remediation run #
Ask an LLM
“What happened in a particular remediation run on my workspace?”
“Can I look up a single remediation run by its ID?”
Tell an agent
Get remediation run {id} on workspace {workspace} in {org}/{project}.
Show the status of remediation run {id}.
PUT /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/remediation/runs/{id} Update a remediation run's status and results · Update remediation run #
Ask an LLM
“How does a pipeline report the outcome of a remediation run back?”
“Can I attach a result payload when marking a remediation run complete?”
Tell an agent
Set remediation run {id} on workspace {workspace} in {org}/{project} to status {status}.
Record result type {result_type} on remediation run {id}.

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-remediation-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-remediation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness Remediation 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 (104 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/openapi/harness-remediation-api-openapi.yml