Harness Connectors API

This contains APIs related to Connectors as defined in Harness

Operations 16

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 /ng/api/connectors/ccmK8sList List cloud cost Kubernetes connectors · Fetches the list of CCM K8S Connectors corresponding to the request's filter… #
Ask an LLM
“Which Kubernetes connectors are set up for cloud cost management in my account?”
“Can I filter my CCM Kubernetes connectors by connectivity status or tags?”
Tell an agent
List the CCM Kubernetes connectors in project {project}.
Find cost-management Kubernetes connectors whose name matches {term}.
GET /ng/api/connectors List connectors with simple filters · List all Connectors using filters #
Ask an LLM
“What connectors exist in my Harness project?”
“Can I list only connectors of one type, like Git or cloud provider?”
Tell an agent
List connectors of type {type} in project {project}.
Show connectors in category {category}, page {page}.
PUT /ng/api/connectors Update an existing connector · Update a Connector #
Ask an LLM
“How do I change the credentials or settings of a connector I already created?”
“Can I commit a connector change to a Git branch when it is stored in Git?”
Tell an agent
Update the connector with this definition: {connector}.
Save the connector change {connector} to branch {branch} with commit message {message}.
POST /ng/api/connectors Create a new connector · Create a Connector #
Ask an LLM
“How do I create a connector so Harness can reach my cloud, Git or artifact repository?”
“Can a new connector's YAML be stored in a Git repository instead of Harness?”
Tell an agent
Create a new connector from {connector}.
Create connector {connector} and store it in repo {repo} on branch {branch}.
GET /ng/api/connectors/{identifier} Get a connector's details · Return Connector details #
Ask an LLM
“How do I see the configuration of one connector by its ID?”
“What type and credentials reference does a specific connector use?”
Tell an agent
Get the details of connector {connector_id}.
Show connector {connector_id} in project {project}.
DELETE /ng/api/connectors/{identifier} Delete a connector · Delete a Connector #
Ask an LLM
“How do I delete a connector I no longer need?”
“Can I force-delete a connector that other entities still reference?”
Tell an agent destructive · confirm first
Delete connector {connector_id}.
Force-delete connector {connector_id} from project {project}, force {force}.
GET /ng/api/connectors/fieldValues Get allowed field values for a connector type · List all the configured field values for the given Connector type #
Ask an LLM
“What values can I pick for fields when creating a connector of a given type?”
“Which auth types and options are allowed for a particular connector type?”
Tell an agent
List the allowed field values for connector type {type}.
Show which options I can set when creating a {type} connector.
POST /ng/api/connectors/getceawstemplateurl Get the AWS cost connector CloudFormation template URL · Get the Template URL of connector #
Ask an LLM
“Where is the AWS CloudFormation template I need to set up a cloud cost connector?”
“Can the AWS cost template include cost and usage reports and optimization permissions?”
Tell an agent
Get the AWS cost connector template URL with CUR enabled {cur}.
Fetch the AWS cost template URL with optimization {optimization} and events {events}.
GET /ng/api/connectors/catalogue Browse the catalogue of connector types · Lists all Connectors for an account #
Ask an LLM
“What kinds of connectors can I create in Harness?”
“Which connector types are grouped under each category in the catalogue?”
Tell an agent
Show the connector catalogue for my account.
List every connector type available to create, by category.
GET /ng/api/connectors/stats Get connector statistics · Gets the connector's statistics by Account Identifier, Project Identifier and… #
Ask an LLM
“How many connectors do I have by type and by connection status?”
“Can I see connector statistics scoped to one project?”
Tell an agent
Show connector statistics for project {project}.
Give me connector counts by type and status for org {org}.
GET /ng/api/connectors/{connectorRef}/gcp-projects List GCP projects a connector can access · Get list of GCP Projects #
Ask an LLM
“Which GCP projects can my Google Cloud connector see?”
“Can I check the GCP project IDs a connector has access to?”
Tell an agent
List the GCP projects reachable through connector {connector}.
Show GCP project IDs for connector {connector} in project {project}.
POST /ng/api/connectors/listV2 Search connectors with advanced filter criteria · Fetches the list of Connectors corresponding to the request's filter criteria #
Ask an LLM
“Can I find connectors by connectivity status, tags or category in one query?”
“Is there a way to list only my favorite connectors?”
Tell an agent
Find connectors with connectivity status {statuses}.
Filter connectors by types {types} and tags {tags}.
POST /ng/api/connectors/listbyfqn Look up connectors by fully qualified name · Get list of Connectors by FQN #
Ask an LLM
“Can I resolve a batch of connector fully qualified names to connectors?”
“How many FQNs can I look up in one connector request?”
Tell an agent
Look up these connectors by their fully qualified names.
Resolve my list of connector FQNs to connector records.
POST /ng/api/connectors/testConnection/{identifier} Test a connector's connection · Test Harness Connector connection with third-party tool #
Ask an LLM
“How do I check that a connector can actually reach the third-party tool?”
“Why would a connector show as disconnected, and can I retest it?”
Tell an agent
Test the connection for connector {connector_id}.
Re-run the connectivity test on connector {connector_id} in project {project}.
POST /ng/api/connectors/testGitRepoConnection/{identifier} Test a Git connector against a repository · Test Git Connector sync with repo #
Ask an LLM
“Can my Git connector reach a specific repository URL?”
“How do I verify a Git connector syncs with one repo before using it?”
Tell an agent
Test Git connector {connector_id} against repo {repo_url}.
Check that Git connector {connector_id} can sync with its repository.
GET /ng/api/connectors/validateUniqueIdentifier Check whether a connector identifier is free · Test a Harness Connector #
Ask an LLM
“Is a connector identifier already taken in my project?”
“Can I check an ID is unique before creating a connector?”
Tell an agent
Check if connector identifier {identifier} is unique.
Verify no connector in project {project} already uses ID {identifier}.

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