Skip to main content
Harness logo
  • Category: developer tools
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 7
  • Triggers: 0
  • Slug: HARNESS
  • Version: 00000000_00

Tools

Slug: HARNESS_LIST_ENVIRONMENTSList one page of environments in a Harness project, optionally filtered by identifiers or search text.

Input Parameters

array
Sort criteria written as field,direction, where direction is ASC or DESC.
string
Continuation cursor from a previous response; omit for the first page and pass the returned value unchanged to fetch the next page.
integer
Maximum environments to return in this page.
string
Filter environments by matching name or identifier.
string
Harness organization identifier; omit to use the connection default.
string
Harness project identifier; omit to use the connection default.
array
Return only environments with these identifiers.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HARNESS_LIST_EXECUTIONSList one page of pipeline executions in a Harness project, optionally filtered by pipeline, status, search text, or current-user ownership.

Input Parameters

array
Sort criteria written as field,direction, where direction is ASC or DESC.
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.
array
Return executions whose status is one of these Harness execution states.
integer
Maximum executions to return in this page.
string
Filter executions by matching pipeline name, identifier, or tags.
string
Harness organization identifier; omit to use the connection default.
boolean
Whether to return only executions triggered by the connected Harness user.
string
Harness project identifier; omit to use the connection default.
string
Return executions for this exact pipeline identifier.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HARNESS_LIST_ORGANIZATIONSList one page of Harness organizations accessible to the connected account, optionally filtered by identifier or search text.

Input Parameters

string
Continuation cursor from a previous response; omit for the first page and pass the returned value unchanged to fetch the next page.
integer
Maximum organizations to return in this page (1-100).
array
Return only organizations with these identifiers.
string
Filter organizations by matching name, identifier, or tag.
array
Ordered sort criteria, each supplied as a JSON-encoded object string with fieldName and orderType, for example [’{“fieldName”:“name”,“orderType”:“ASC”}’].

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HARNESS_LIST_PIPELINESList one page of pipelines in a Harness project, optionally filtered by search text or Git branch.

Input Parameters

array
Sort criteria written as field,direction, where direction is ASC or DESC.
string
Filter Git-backed pipeline definitions by branch.
string
Continuation cursor from a previous call; omit for the first page.
integer
Maximum pipelines to return in this page (1-200).
string
Filter pipelines by matching name, identifier, or tags.
string
Harness organization identifier; omit to use the connection default.
string
Harness project identifier; omit to use the connection default.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HARNESS_LIST_PROJECTSList one page of Harness projects accessible to the connected account, optionally within an organization or filtered by module and search text.

Input Parameters

string
Continuation cursor from a previous call; omit for the first page.
integer
Maximum projects to return in this page (1-100).
array
Return only projects with these identifiers.
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.
string
Filter projects by matching name, identifier, or tag.
array
Ordered sort criteria, each supplied as a JSON-encoded object string with fieldName and orderType, for example [’{“fieldName”:“name”,“orderType”:“ASC”}’].
boolean
Whether to return only projects marked as favorites.
string
Organization identifier to filter projects; when omitted, use the connection default if configured or search across accessible organizations.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HARNESS_LIST_SERVICESList one page of services in a Harness project, optionally filtered by identifiers, deployment type, tags, storage, GitOps state, or search text.

Input Parameters

array
Sort criteria written as field,direction, where direction is ASC or DESC.
array
Filter by tags written as key:value or key; a service may match any supplied tag.
string
Continuation cursor from a previous call; omit for the first page.
integer
Maximum services to return in this page (1-1000).
string ("INLINE" | "REMOTE" | "INLINE_HC")
Filter by entity storage: Harness inline, Git remote, or Harness Code inline.
string
Filter services by matching name or identifier.
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.
boolean
Filter services by whether GitOps is enabled.
string
Harness organization identifier; omit to use the connection default.
string
Harness project identifier; omit to use the connection default.
array
Return only services with these identifiers.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HARNESS_LIST_TEMPLATESList one page of account-scoped Harness templates, optionally filtered by template state, entity or child type, identifier, name, description, or search text.

Input Parameters

array
Return only templates with these names.
string
Continuation cursor from a previous call; omit for the first page.
string ("identifier" | "name" | "updated")
Template field to sort by.
integer
Maximum templates to return in this page (1-100).
boolean
Whether to include all accessible templates below the account scope.
string ("ASC" | "DESC")
Sort direction; use with sort_by.
array
Filter templates by step or stage child type.
string
Filter templates by description text.
array
Return only templates with these identifiers.
string
Filter templates by matching resource attributes.
array
Filter templates by the Harness entities they define.
string ("STABLE_TEMPLATE" | "LAST_UPDATES_TEMPLATE" | "ALL")
Which template revisions to list: stable, latest updates, or all.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not