Harness Projects API

Manage projects

Operations 6

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 /gitops/api/v1/agents/{agentIdentifier}/projects List Argo CD projects on a GitOps agent · List returns list of Argo projects #
Ask an LLM
“Which Argo CD projects does a GitOps agent manage?”
“Can I filter an agent's Argo projects by name?”
Tell an agent
List Argo projects on GitOps agent {agentIdentifier}.
List Argo projects named {query.name} on agent {agentIdentifier}.
POST /gitops/api/v1/agents/{agentIdentifier}/projects Create an Argo CD project on a GitOps agent · Create a new Argo project #
Ask an LLM
“How do I create a new Argo CD project through a Harness GitOps agent?”
“Can I upsert an Argo project if it already exists?”
Tell an agent
Create Argo project {project} on GitOps agent {agentIdentifier}.
Create or update Argo project {project} on agent {agentIdentifier} with upsert={upsert}.
GET /gitops/api/v1/agents/{agentIdentifier}/projects/{query.name} Get an Argo CD project by name · Get returns an Argo project by name #
Ask an LLM
“How do I fetch one Argo project's definition from a GitOps agent?”
“What source repos and destinations does an Argo project allow?”
Tell an agent
Get Argo project {query.name} from GitOps agent {agentIdentifier}.
Show the Argo project called {query.name}.
DELETE /gitops/api/v1/agents/{agentIdentifier}/projects/{query.name} Delete an Argo CD project · Delete deletes an Argo project #
Ask an LLM
“How do I delete an Argo CD project from a GitOps agent?”
“Can I remove an Argo project by name?”
Tell an agent destructive · confirm first
Delete Argo project {query.name} on GitOps agent {agentIdentifier}.
Remove the Argo project {query.name}.
PUT /gitops/api/v1/agents/{agentIdentifier}/projects/{request.project.metadata.name} Update an Argo CD project · Update updates an Argo project #
Ask an LLM
“How do I change an existing Argo project's allowed repos or destinations?”
“Can I edit an Argo project's spec through the GitOps agent?”
Tell an agent
Update Argo project {request.project.metadata.name} on GitOps agent {agentIdentifier}.
Apply spec {project} to existing Argo project {request.project.metadata.name}.
GET /ng/api/projects List Harness projects in an account · Harness List Projects #
Ask an LLM
“Which Harness projects exist in my account?”
“Can I list only the projects in one organization?”
Tell an agent
List Harness projects in account {accountIdentifier}.
List the Harness projects in org {orgIdentifier}.

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-projects-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-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness Projects API
  version: '1.0'
  x-refined-note:
  - x-generated-from differs across the merged source definitions and was not carried
  - x-last-validated differs across the merged source definitions and was not carried
  - x-logo differs across the merged source definitions and was not carried
  description: 'Operations tagged Projects across 2 of this provider''s published API definitions: harness-apis-openapi.yaml, harness-platform-api.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.harness.io
  description: Harness host URL
- url: https://{vanity}
  description: Vanity URL
  variables:
    vanity:
      default: app.harness.io
- url: https://app.harness.io/gateway
  description: Harness SaaS Production
tags:


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