Harness Project Template API

This contains APIs for Project-scoped Templates.

Operations 10

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 /v1/orgs/{org}/projects/{project}/templates/git-metadata/{template} Update Git details of a project template · Update Git details #
Ask an LLM
“Can I update the Git details stored for every version of a project template?”
“What changes the Git metadata of a template in my project?”
Tell an agent
Update Git details for template {template} in project {project} of org {org}.
Refresh Git metadata on project template {template}.
POST /v1/orgs/{org}/projects/{project}/templates Create a project template · Create Template #
Ask an LLM
“Can I create a new pipeline template scoped to one project?”
“What YAML do I need to add a template at project level?”
Tell an agent
Create template {name} in project {project} of org {org} from YAML {yaml}.
Add a stable template with YAML {yaml} to project {project}.
GET /v1/orgs/{org}/projects/{project}/templates List templates in a project · Get Templates List #
Ask an LLM
“Which templates exist in my project?”
“Can I filter project templates by type or search term?”
Tell an agent
List templates in project {project} of org {org}.
Search templates in project {project} for {term}.
GET /v1/orgs/{org}/projects/{project}/templates/{template} Get the stable version of a project template · Get Stable Template #
Ask an LLM
“Which version of a project template is currently marked stable?”
“Can I read the stable template's YAML from a specific Git branch?”
Tell an agent
Get the stable version of template {template} in project {project}, org {org}.
Show stable template {template} YAML from branch {branch}.
GET /v1/orgs/{org}/projects/{project}/templates/{template}/versions/{version} Get a specific project template version · Retrieve a Template #
Ask an LLM
“Can I fetch one particular version of a project template?”
“Is the YAML included when I retrieve a template by version label?”
Tell an agent
Get version {version} of template {template} in project {project}.
Retrieve template {template} version {version} with YAML in org {org}.
PUT /v1/orgs/{org}/projects/{project}/templates/{template}/versions/{version} Update a project template version · Update Template #
Ask an LLM
“Can I edit the YAML of an existing template version in a project?”
“Is a commit comment recorded when I update a template version?”
Tell an agent
Update template {template} version {version} with YAML {yaml}.
Edit version {version} of template {template} in project {project}, org {org}.
DELETE /v1/orgs/{org}/projects/{project}/templates/{template}/versions/{version} Delete a project template version · Delete Template #
Ask an LLM
“Can I delete one version of a template in my project?”
“Is it possible to force-delete a template version that is still referenced?”
Tell an agent destructive · confirm first
Delete version {version} of template {template} in project {project}, org {org}.
Force delete template {template} version {version} set to {force}.
PUT /v1/orgs/{org}/projects/{project}/templates/{template}/versions/{version}/stable Mark a project template version stable · Update Stable Template #
Ask an LLM
“How do I promote a template version to stable in my project?”
“Can I change which version of a project template is the stable one?”
Tell an agent
Make version {version} the stable version of template {template} in project {project}, org {org}.
Set template {template} stable version to {version}.
POST /v1/orgs/{org}/projects/{project}/templates/{template}/import Import a template from Git into a project · Import Template #
Ask an LLM
“Can I import a template that already lives in a Git repo into my project?”
“What details are needed to import a project template from Git?”
Tell an agent
Import template {template} into project {project} of org {org}.
Import template {template} from Git using {details}.
GET /v1/orgs/{org}/projects/{project}/templates/{template}/versions/{version}/inputs-schema Get a project template's inputs schema · Get inputs schema for project level templates #
Ask an LLM
“What runtime inputs does a project template version expect?”
“Can I get the input schema for a template before using it?”
Tell an agent
Get the inputs schema for template {template} version {version} in project {project}, org {org}.
Show required inputs for template {template} version {version}.

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