Harness Chaos Infrastructure API

The Chaos Infrastructure API from Harness — 27 operation(s) for chaos infrastructure.

Operations 32

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

GET /gateway/chaos/manager/api/rest/imageRegistry Get the chaos image registry settings · Get image registry #
Ask an LLM
“Which container image registry does Harness Chaos Engineering pull its chaos images from?”
“Can I see the image registry configured for my chaos experiments?”
Tell an agent
Show me the image registry configured for chaos engineering.
Look up where my chaos infrastructure pulls its images from.
POST /gateway/chaos/manager/api/rest/kubernetes/infra Register a legacy Kubernetes chaos infrastructure · Register a new legacy kubernetes chaos infra #
Ask an LLM
“How do I register a legacy Kubernetes chaos infrastructure in a project?”
“Can I install a legacy chaos infra into an existing namespace with its own service account?”
Tell an agent
Register a legacy Kubernetes chaos infra named {name} in project {project} of org {org}.
Register legacy Kubernetes chaos infra {name} in namespace {namespace} for environment {environment}.
GET /gateway/chaos/manager/api/rest/kubernetes/infra/helm-command/{id} Get the Helm install command for a legacy chaos infra · Get legacy kubernetes helm infra command #
Ask an LLM
“What Helm command do I run to install my legacy Kubernetes chaos infrastructure?”
“Can I get a Helm command instead of a manifest for a legacy chaos infra?”
Tell an agent
Get the Helm install command for legacy chaos infra {infra_id}.
Give me the Helm command for legacy Kubernetes chaos infra {infra_id} in project {project}.
GET /gateway/chaos/manager/api/rest/kubernetes/infra/manifest/{id} Download the manifest for a legacy chaos infra · Get legacy kubernetes chaos infrastructure manifest #
Ask an LLM
“Where do I get the Kubernetes YAML manifest to apply for a legacy chaos infrastructure?”
“Can I download the install manifest for a legacy chaos infra I already registered?”
Tell an agent
Download the Kubernetes manifest for legacy chaos infra {infra_id}.
Fetch the install YAML for legacy chaos infra {infra_id} in project {project}.
GET /gateway/chaos/manager/api/rest/kubernetes/infra/stats Get statistics for legacy Kubernetes chaos infras · Get legacy kubernetes chaos infra stats #
Ask an LLM
“How many legacy Kubernetes chaos infrastructures does my project have?”
“Can I see summary stats for the legacy chaos infras in a project?”
Tell an agent
Show stats for legacy Kubernetes chaos infras in project {project}.
Summarize the legacy chaos infrastructure counts for org {org}, project {project}.
POST /gateway/chaos/manager/api/rest/kubernetes/infra/upgrade/{id} Upgrade a legacy Kubernetes chaos infrastructure · Upgrade legacy kubernetes chaos infrastructure #
Ask an LLM
“How do I upgrade an outdated legacy Kubernetes chaos infrastructure to the latest version?”
“Can I trigger an upgrade of one legacy chaos infra from the API?”
Tell an agent
Upgrade legacy Kubernetes chaos infra {infra_id}.
Bring legacy chaos infra {infra_id} in project {project} up to the current version.
GET /gateway/chaos/manager/api/rest/kubernetes/infra/version Get version details for legacy Kubernetes chaos infras · Get legacy kubernetes chaos infrastructure version details #
Ask an LLM
“What versions are available for legacy Kubernetes chaos infrastructure?”
“Which legacy chaos infra version is current, so I know whether to upgrade?”
Tell an agent
Show legacy Kubernetes chaos infra version details for project {project}.
Check the latest supported legacy chaos infra version in org {org}.
GET /gateway/chaos/manager/api/rest/kubernetes/infra/{id} Get details of a legacy Kubernetes chaos infra · Get legacy kubernetes chaos infrastructure details #
Ask an LLM
“How can I see the configuration and status of one legacy Kubernetes chaos infra?”
“What namespace and environment is a given legacy chaos infrastructure registered to?”
Tell an agent
Get the details of legacy Kubernetes chaos infra {infra_id}.
Show legacy chaos infra {infra_id} in project {project}.
PUT /gateway/chaos/manager/api/rest/kubernetes/infra/{id} Update a legacy Kubernetes chaos infra · Update legacy kubernetes chaos infras #
Ask an LLM
“Can I rename or retag a legacy Kubernetes chaos infrastructure after registering it?”
“How do I move a legacy chaos infra to a different environment?”
Tell an agent
Rename legacy Kubernetes chaos infra {infra_id} to {name}.
Change the description of legacy chaos infra {infra_id} to {description}.
DELETE /gateway/chaos/manager/api/rest/kubernetes/infra/{id} Delete a legacy Kubernetes chaos infra · Delete a legacy kubernetes chaos infra #
Ask an LLM
“How do I remove a legacy Kubernetes chaos infrastructure from my project?”
“Can I force-delete a legacy chaos infra that is no longer reachable?”
Tell an agent destructive · confirm first
Delete legacy Kubernetes chaos infra {infra_id}.
Force-delete legacy chaos infra {infra_id} with force set to {force}.
GET /gateway/chaos/manager/api/rest/kubernetes/infra/health/{id} Check connectivity of a legacy chaos infra · Test legacy kubernetes chaos infrastructure connection #
Ask an LLM
“Is my legacy Kubernetes chaos infrastructure connected and healthy?”
“How can I test whether a legacy chaos infra can still reach Harness?”
Tell an agent
Test the connection health of legacy chaos infra {infra_id}.
Run a health check on legacy Kubernetes chaos infra {infra_id} in project {project}.
POST /gateway/chaos/manager/api/rest/kubernetes/infras List legacy Kubernetes chaos infras · List legacy kubernetes chaos infras #
Ask an LLM
“Which legacy Kubernetes chaos infrastructures are registered in my project?”
“Can I filter legacy chaos infras by environment or Kubernetes connector?”
Tell an agent
List the legacy Kubernetes chaos infras in project {project}.
List legacy chaos infras attached to Kubernetes connectors {connectors}.
POST /gateway/chaos/manager/api/rest/machine/infra Register a machine chaos infrastructure · Register a new machine chaos infra #
Ask an LLM
“How do I register a Linux or Windows machine as a chaos infrastructure?”
“Can I tag a machine chaos infra and assign it to an environment when I register it?”
Tell an agent
Register a {infra_type} machine chaos infra named {name} in project {project}.
Register machine chaos infra {name} of type {infra_type} for environment {environment}.
GET /gateway/chaos/manager/api/rest/machine/infra/version Get version details for machine chaos infras · Get machine chaos infrastructure version details #
Ask an LLM
“What is the latest agent version for machine chaos infrastructure?”
“Can I check machine chaos infra versions for a specific machine type?”
Tell an agent
Show machine chaos infra version details for type {infra_type}.
Check available {infra_type} machine chaos infra versions in project {project}.
GET /gateway/chaos/manager/api/rest/machine/infra/{id} Get details of a machine chaos infra · Get machine chaos infrastructure details #
Ask an LLM
“How do I look up one machine chaos infrastructure and its current state?”
“What environment and tags does a registered machine chaos infra have?”
Tell an agent
Get details of machine chaos infra {infra_id} of type {infra_type}.
Show machine chaos infra {infra_id} in project {project}.
PUT /gateway/chaos/manager/api/rest/machine/infra/{id} Update a machine chaos infra · Update the machine chaos infra #
Ask an LLM
“Can I rename a machine chaos infrastructure or change its tags?”
“How do I move a machine chaos infra to another environment?”
Tell an agent
Rename machine chaos infra {infra_id} to {name}.
Move machine chaos infra {infra_id} of type {infra_type} to environment {environment}.
DELETE /gateway/chaos/manager/api/rest/machine/infra/{id} Delete a machine chaos infra · Delete a machine chaos infra #
Ask an LLM
“How do I remove a machine chaos infrastructure I no longer use?”
“Can I force-remove a machine chaos infra whose host is gone?”
Tell an agent destructive · confirm first
Delete machine chaos infra {infra_id} of type {infra_type}.
Force-delete machine chaos infra {infra_id}, force flag {force}.
POST /gateway/chaos/manager/api/rest/machine/infras List machine chaos infras · List machine chaos infras #
Ask an LLM
“Which machines are registered as chaos infrastructure in my project?”
“Can I search machine chaos infras by name and page through the results?”
Tell an agent
List {infra_type} machine chaos infras in project {project}, page {page} of {limit}.
Search machine chaos infras of type {infra_type} for {term}.
GET /gateway/chaos/manager/api/rest/usage Get chaos engineering resource usage · Get resource usage #
Ask an LLM
“How much of my chaos engineering resource allowance has my account used?”
“Can I see chaos resource usage for the account?”
Tell an agent
Show my chaos engineering resource usage.
Report how many chaos resources the account is consuming.
GET /gateway/chaos/manager/api/rest/v2/harness-infrastructures List Harness infrastructures in an environment · List harness infras #
Ask an LLM
“Which Harness infrastructure definitions exist in a given environment for chaos use?”
“Can I search Harness infrastructures within one environment?”
Tell an agent
List Harness infrastructures in environment {environment}, page {page}, {limit} per page.
Search Harness infrastructures in environment {environment} for {term}.
PUT /gateway/chaos/manager/api/rest/v2/infrastructure Update a v2 chaos infrastructure · Update a v2 infra #
Ask an LLM
“How do I change the namespace or image registry of an existing v2 chaos infrastructure?”
“Can I turn on AI or autopilot for a v2 chaos infra that is already registered?”
Tell an agent
Update v2 chaos infra {identity} to use namespace {namespace}.
Enable autopilot on v2 chaos infra {identity}: set it to {autopilot}.
POST /gateway/chaos/manager/api/rest/v2/infrastructure Register a new v2 chaos infrastructure · Register a new v2 infra #
Ask an LLM
“How do I register a new v2 chaos infrastructure in a Harness environment?”
“Can I link a discovery agent when registering a v2 chaos infra?”
Tell an agent
Register a v2 chaos infra {identifier} in environment {environment} in namespace {namespace}.
Register v2 chaos infra {identifier} in project {project} with discovery agent {agent}.
POST /gateway/chaos/manager/api/rest/v2/infrastructure/yaml Preview the YAML for a v2 chaos infra · Preview v2 infra Yaml #
Ask an LLM
“Can I preview the YAML a v2 chaos infrastructure would generate before registering it?”
“What would the v2 chaos infra manifest look like with a proxy and node selector set?”
Tell an agent
Preview the v2 chaos infra YAML for namespace {namespace} in environment {environment}.
Generate a YAML preview for v2 infra {identifier} in project {project}.
DELETE /gateway/chaos/manager/api/rest/v2/infrastructure/{environmentIdentifier}/{identity} Delete a v2 chaos infrastructure · Delete a v2 infra #
Ask an LLM
“How do I remove a v2 chaos infrastructure from an environment?”
“Can I delete a v2 chaos infra by its identity?”
Tell an agent destructive · confirm first
Delete v2 chaos infra {identity} from environment {environment}.
Remove v2 infra {identity} in environment {environment} of project {project}.
GET /gateway/chaos/manager/api/rest/v2/infrastructure/{identity} Get details of a v2 chaos infrastructure · Get v2 infra details #
Ask an LLM
“How do I view the configuration of one v2 chaos infrastructure?”
“What namespace and settings does a given v2 chaos infra use?”
Tell an agent
Get v2 chaos infra {identity} in environment {environment}.
Show the details of v2 infra {identity} in project {project}.
GET /gateway/chaos/manager/api/rest/v2/infrastructure/{identity}/connector Get the connector behind a v2 chaos infra · Get Connector For Infra #
Ask an LLM
“Which connector does a v2 chaos infrastructure use?”
“Can I find the Kubernetes connector backing a chaos infra?”
Tell an agent
Get the connector for v2 chaos infra {identity} in environment {environment}.
Show which connector backs chaos infra {identity}.
POST /gateway/chaos/manager/api/rest/v2/infrastructures List v2 chaos infrastructures · List v2 infras #
Ask an LLM
“What v2 chaos infrastructures are registered in my project?”
“Can the v2 infra list also include legacy infrastructures?”
Tell an agent
List v2 chaos infras in project {project}, page {page}, {limit} per page.
List all v2 chaos infras including legacy ones: include legacy {include_legacy}.
POST /gateway/chaos/manager/api/rest/v2/infrastructures/chaos-enabled List v2 infras that have chaos enabled · List v2 infras #
Ask an LLM
“Which of my v2 infrastructures actually have chaos enabled?”
“Can I list only chaos-enabled infrastructures in an environment?”
Tell an agent
Show page {page} of chaos-enabled infrastructures in project {project}, {limit} at a time.
Show only chaos-enabled infrastructures in environment {environment}.
GET /gateway/chaos/manager/api/rest/v2/infrastructures/{infrastructureIdentity}/applications List applications on a chaos infrastructure · List all applications for a given infra #
Ask an LLM
“Which applications were discovered on a given chaos infrastructure?”
“Can I see the apps running on one infra so I can target them with chaos?”
Tell an agent
List applications on infrastructure {infra} in environment {environment}.
Show the apps found on chaos infra {infra}.
GET /gateway/chaos/manager/api/rest/v2/infrastructures/{infrastructureIdentity}/applications/{applicationIdentity}/functions List instrumented functions of an application · List instrumented functions for given application #
Ask an LLM
“Which functions in an application are instrumented for chaos injection?”
“Can I see the instrumented functions of one app on a given infrastructure?”
Tell an agent
List instrumented functions of application {app} on infrastructure {infra}.
Show functions I can target in app {app} on infra {infra} in environment {environment}.
GET /gateway/chaos/manager/api/rest/v2/infrastructures/{infrastructureIdentity}/token Get the token for a v2 chaos infrastructure · Get a v2 infra token #
Ask an LLM
“Where do I get the access token a v2 chaos infrastructure uses to connect?”
“Can I retrieve the infra token for a chaos infrastructure in an environment?”
Tell an agent
Get the token for chaos infrastructure {infra} in environment {environment}.
Fetch the v2 infra token for {infra}.
POST /gateway/chaos/manager/api/rest/v2/infrastructures/{infrastructureIdentity}/updateemissary Update the emissary endpoint of a chaos infra · Update emissary endpoint #
Ask an LLM
“How do I change the emissary endpoint URL a chaos infrastructure reports to?”
“Can I point a v2 chaos infra at a new emissary URL?”
Tell an agent
Set the emissary endpoint of infrastructure {infra} to {url}.
Update emissary URL for chaos infra {infra} in environment {environment} to {url}.

Documentation

Specifications

Schemas & Data

Other Resources

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