Harness Fault Templates API

The Fault Templates API from Harness — 7 operation(s) for fault templates.

Operations 11

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

PUT /gateway/chaos/manager/api/rest/faults/{identity} Update a chaos fault · Update the fault templates in a hub #
Ask an LLM
“How do I edit a chaos fault's inputs or spec after creating it?”
“Can I change the infrastructure type a fault targets?”
Tell an agent
Update chaos fault {identity} and rename it to {name}.
Change fault {identity}'s category to {category}.
DELETE /gateway/chaos/manager/api/rest/faults/{identity} Delete a chaos fault · Delete the fault templates in a hub #
Ask an LLM
“How do I remove a chaos fault I created?”
“Can I delete a fault scoped to a single project?”
Tell an agent destructive · confirm first
Delete chaos fault {identity}.
Remove fault {identity} from project {projectIdentifier}.
GET /gateway/chaos/manager/api/rest/faulttemplates List fault templates in a ChaosHub · List all the fault templates in a hub #
Ask an LLM
“Which chaos fault templates are available in a hub?”
“Can I filter fault templates by infrastructure type, category or tags?”
Tell an agent
List fault templates in hub {hubIdentity}.
Show {category} fault templates for {infrastructureType} infrastructure.
POST /gateway/chaos/manager/api/rest/faulttemplates Create a fault template in a hub · Create fault templates in a hub #
Ask an LLM
“How do I add a custom fault template to a ChaosHub?”
“What must a new fault template have besides a name?”
Tell an agent
Create fault template {name} with identity {identity} in hub {hubIdentity}.
Add a {category} fault template {identity} to hub {hubIdentity}.
GET /gateway/chaos/manager/api/rest/faulttemplates/{identity} Get one fault template revision · List all the fault templates in a hub #
Ask an LLM
“What does a specific fault template contain at a given revision?”
“Can I open a single fault template from a hub?”
Tell an agent
Get fault template {identity} revision {revision} from hub {hubIdentity}.
Show fault template {identity} at revision {revision}.
PUT /gateway/chaos/manager/api/rest/faulttemplates/{identity} Update a fault template in a hub · Update the fault templates in a hub #
Ask an LLM
“Can I update a fault template that lives in a ChaosHub?”
“Is updating a hub fault template scoped to a project?”
Tell an agent
Update fault template {identity} in hub {hubIdentity}.
Refresh hub {hubIdentity}'s fault template {identity} in project {projectIdentifier}.
DELETE /gateway/chaos/manager/api/rest/faulttemplates/{identity} Delete a fault template from a hub · Delete the fault templates in a hub #
Ask an LLM
“How do I remove a fault template from a ChaosHub?”
“Does deleting a hub fault template need the hub identity?”
Tell an agent destructive · confirm first
Delete fault template {identity} from hub {hubIdentity}.
Remove template {identity} from ChaosHub {hubIdentity}.
GET /gateway/chaos/manager/api/rest/faulttemplates/{identity}/compare Compare two revisions of a fault template · Get the difference between 2 revisions of a fault template #
Ask an LLM
“What changed between two versions of a fault template?”
“Can I diff fault template revisions in a hub?”
Tell an agent
Diff fault template {identity} between revision {revision1} and {revision2}.
Compare revisions {revision1} and {revision2} of template {identity} in hub {hubIdentity}.
GET /gateway/chaos/manager/api/rest/faulttemplates/{identity}/revisions List a fault template's revisions · List all the revision of a fault template in a hub #
Ask an LLM
“How many revisions does a fault template have?”
“Can I page through the revision history of a hub fault template?”
Tell an agent
List the revisions of fault template {identity} in hub {hubIdentity}.
Show page {page} of template {identity}'s revision history, {limit} per page.
GET /gateway/chaos/manager/api/rest/faulttemplates/{identity}/variables List a fault template's inputs · Get the list of inputs in a fault template #
Ask an LLM
“Which inputs or variables does a fault template need?”
“Do a fault template's inputs change between revisions?”
Tell an agent
List the inputs of fault template {identity} at revision {revision}.
Show the variables I must set for template {identity} in hub {hubIdentity}.
GET /gateway/chaos/manager/api/rest/faulttemplates/{identity}/yaml Get a fault template's YAML · Get a fault template yaml #
Ask an LLM
“Where can I see the raw YAML definition of a fault template?”
“Can I export a fault template as YAML at a specific revision?”
Tell an agent
Get the YAML for fault template {identity} at revision {revision}.
Export template {identity} from hub {hubIdentity} as YAML.

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