> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Harness

> Harness Core CD APIs for managing pipelines, executions, services, environments, infrastructure, input sets, triggers, and templates.

![Harness logo](https://mintcdn.com/composio-preview/o1IUBrrsmtgkhmyf/images/toolkits/harness.svg?fit=max\&auto=format\&n=o1IUBrrsmtgkhmyf\&q=85\&s=a7ed499b7e0a06910551946669a44ac9)

* **Category:** developer tools
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 7
* **Triggers:** 0
* **Slug:** `HARNESS`
* **Version:** 00000000\_00

## Tools

> [accordion] List Environments
>
> **Slug:** `HARNESS_LIST_ENVIRONMENTS`
>
> List one page of environments in a Harness project, optionally filtered by identifiers or search text.
>
> #### Input Parameters
>
> **sort** `array`
>
> Sort criteria written as field,direction, where direction is ASC or DESC.
>
> **cursor** `string`
>
> Continuation cursor from a previous response; omit for the first page and pass the returned value unchanged to fetch the next page.
>
> **page\_size** `integer`
>
> Maximum environments to return in this page.
>
> **search\_term** `string`
>
> Filter environments by matching name or identifier.
>
> **org\_identifier** `string`
>
> Harness organization identifier; omit to use the connection default.
>
> **project\_identifier** `string`
>
> Harness project identifier; omit to use the connection default.
>
> **environment\_identifiers** `array`
>
> Return only environments with these identifiers.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Pipeline Executions
>
> **Slug:** `HARNESS_LIST_EXECUTIONS`
>
> List one page of pipeline executions in a Harness project, optionally filtered by pipeline, status, search text, or current-user ownership.
>
> #### Input Parameters
>
> **sort** `array`
>
> Sort criteria written as field,direction, where direction is ASC or DESC.
>
> **cursor** `string`
>
> Continuation cursor from a previous response's next\_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page.
>
> **statuses** `array`
>
> Return executions whose status is one of these Harness execution states.
>
> **page\_size** `integer`
>
> Maximum executions to return in this page.
>
> **search\_term** `string`
>
> Filter executions by matching pipeline name, identifier, or tags.
>
> **org\_identifier** `string`
>
> Harness organization identifier; omit to use the connection default.
>
> **triggered\_by\_me** `boolean`
>
> Whether to return only executions triggered by the connected Harness user.
>
> **project\_identifier** `string`
>
> Harness project identifier; omit to use the connection default.
>
> **pipeline\_identifier** `string`
>
> Return executions for this exact pipeline identifier.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Organizations
>
> **Slug:** `HARNESS_LIST_ORGANIZATIONS`
>
> List one page of Harness organizations accessible to the connected account, optionally filtered by identifier or search text.
>
> #### Input Parameters
>
> **cursor** `string`
>
> Continuation cursor from a previous response; omit for the first page and pass the returned value unchanged to fetch the next page.
>
> **page\_size** `integer`
>
> Maximum organizations to return in this page (1-100).
>
> **identifiers** `array`
>
> Return only organizations with these identifiers.
>
> **search\_term** `string`
>
> Filter organizations by matching name, identifier, or tag.
>
> **sort\_orders** `array`
>
> Ordered sort criteria, each supplied as a JSON-encoded object string with fieldName and orderType, for example \['\{"fieldName":"name","orderType":"ASC"}'].
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Pipelines
>
> **Slug:** `HARNESS_LIST_PIPELINES`
>
> List one page of pipelines in a Harness project, optionally filtered by search text or Git branch.
>
> #### Input Parameters
>
> **sort** `array`
>
> Sort criteria written as field,direction, where direction is ASC or DESC.
>
> **branch** `string`
>
> Filter Git-backed pipeline definitions by branch.
>
> **cursor** `string`
>
> Continuation cursor from a previous call; omit for the first page.
>
> **page\_size** `integer`
>
> Maximum pipelines to return in this page (1-200).
>
> **search\_term** `string`
>
> Filter pipelines by matching name, identifier, or tags.
>
> **org\_identifier** `string`
>
> Harness organization identifier; omit to use the connection default.
>
> **project\_identifier** `string`
>
> Harness project identifier; omit to use the connection default.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Projects
>
> **Slug:** `HARNESS_LIST_PROJECTS`
>
> List one page of Harness projects accessible to the connected account, optionally within an organization or filtered by module and search text.
>
> #### Input Parameters
>
> **cursor** `string`
>
> Continuation cursor from a previous call; omit for the first page.
>
> **page\_size** `integer`
>
> Maximum projects to return in this page (1-100).
>
> **identifiers** `array`
>
> Return only projects with these identifiers.
>
> **module\_type** `string ("CD" | "CI" | "CV" | "CF" | "CE" | "STO" | "CHAOS" | "AI_TEST_AUTOMATION" | "SRM" | "IACM" | "CET" | "IDP" | "CODE" | "SSCA" | "AISRE" | "CORE" | "PMS" | "TEMPLATESERVICE" | "RMG" | "GOVERNANCE" | "PLATFORM" | "SEI" | "HAR" | "DevopsEssentials" | "FME" | "DBOPS" | "AI_AGENT_MLOPS" | "AASP" | "AARP" | "AAST" | "AISEC")`
>
> Return projects that have this Harness module, such as CD for Continuous Delivery.
>
> **search\_term** `string`
>
> Filter projects by matching name, identifier, or tag.
>
> **sort\_orders** `array`
>
> Ordered sort criteria, each supplied as a JSON-encoded object string with fieldName and orderType, for example \['\{"fieldName":"name","orderType":"ASC"}'].
>
> **only\_favorites** `boolean`
>
> Whether to return only projects marked as favorites.
>
> **org\_identifier** `string`
>
> Organization identifier to filter projects; when omitted, use the connection default if configured or search across accessible organizations.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Services
>
> **Slug:** `HARNESS_LIST_SERVICES`
>
> List one page of services in a Harness project, optionally filtered by identifiers, deployment type, tags, storage, GitOps state, or search text.
>
> #### Input Parameters
>
> **sort** `array`
>
> Sort criteria written as field,direction, where direction is ASC or DESC.
>
> **tags** `array`
>
> Filter by tags written as key:value or key; a service may match any supplied tag.
>
> **cursor** `string`
>
> Continuation cursor from a previous call; omit for the first page.
>
> **page\_size** `integer`
>
> Maximum services to return in this page (1-1000).
>
> **store\_type** `string ("INLINE" | "REMOTE" | "INLINE_HC")`
>
> Filter by entity storage: Harness inline, Git remote, or Harness Code inline.
>
> **search\_term** `string`
>
> Filter services by matching name or identifier.
>
> **service\_type** `string ("Kubernetes" | "NativeHelm" | "Ssh" | "WinRm" | "ServerlessAwsLambda" | "AzureWebApp" | "AzureFunction" | "CustomDeployment" | "ECS" | "Elastigroup" | "TAS" | "Asg" | "GoogleCloudFunctions" | "AwsLambda" | "AWS_SAM" | "SERVICE_YAML_V1_TYPE" | "GoogleCloudRun" | "Salesforce" | "GoogleManagedInstanceGroup" | "AzureContainerApps" | "AiAgent")`
>
> Filter by Harness service deployment type.
>
> **gitops\_enabled** `boolean`
>
> Filter services by whether GitOps is enabled.
>
> **org\_identifier** `string`
>
> Harness organization identifier; omit to use the connection default.
>
> **project\_identifier** `string`
>
> Harness project identifier; omit to use the connection default.
>
> **service\_identifiers** `array`
>
> Return only services with these identifiers.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Templates
>
> **Slug:** `HARNESS_LIST_TEMPLATES`
>
> List one page of account-scoped Harness templates, optionally filtered by template state, entity or child type, identifier, name, description, or search text.
>
> #### Input Parameters
>
> **names** `array`
>
> Return only templates with these names.
>
> **cursor** `string`
>
> Continuation cursor from a previous call; omit for the first page.
>
> **sort\_by** `string ("identifier" | "name" | "updated")`
>
> Template field to sort by.
>
> **page\_size** `integer`
>
> Maximum templates to return in this page (1-100).
>
> **recursive** `boolean`
>
> Whether to include all accessible templates below the account scope.
>
> **sort\_order** `string ("ASC" | "DESC")`
>
> Sort direction; use with sort\_by.
>
> **child\_types** `array`
>
> Filter templates by step or stage child type.
>
> **description** `string`
>
> Filter templates by description text.
>
> **identifiers** `array`
>
> Return only templates with these identifiers.
>
> **search\_term** `string`
>
> Filter templates by matching resource attributes.
>
> **entity\_types** `array`
>
> Filter templates by the Harness entities they define.
>
> **template\_type** `string ("STABLE_TEMPLATE" | "LAST_UPDATES_TEMPLATE" | "ALL")`
>
> Which template revisions to list: stable, latest updates, or all.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
