Productivity & Projects · Developer Tools · IT & Security

Harness

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

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Retry Pipeline With Expressions

    Retry a previous Harness pipeline execution from selected stages with optional runtime input YAML and expression values. Supports failed parallel-group stage selection, execution notes and asynchronous plan creation. Returns the new execution ID and initial details without waiting for completion.

  • Rollback Service

    Trigger a Harness service rollback using its instance key and infrastructure mapping identifier. Optionally specify organization and project scope. Returns whether rollback was triggered, a result message, and the rollback plan execution ID when available; inspect rollbackTriggered for the outcome.

  • Rollback Service to Environment

    Trigger a Harness service rollback in a specific environment, optionally selecting infrastructure, artifact, and chart version. Returns whether the rollback was triggered and its pipeline execution ID when available; triggering does not mean the rollback has completed.

  • Rollback Targets Batch

    Trigger rollback for multiple service and environment targets in the connected Harness account, using the latest pipeline execution group per target. Returns individual target outcomes and triggered/failed totals. A target failure does not fail the entire batch; inspect rollbackTriggered and message for each result.

  • Set Stable Template Version

    Mark an existing Harness template version as stable at account scope. Optionally specify a Git branch, remote parent template context, and a comment.

  • Update Environment

    Update an existing Harness environment's definition, type, name, tags, or YAML at account, organization, or project scope. Supply the identifier and scope of the existing environment.

  • Update environment Git metadata

    Update the Git metadata of an existing remote Harness environment and return its identifier. Supply the environment's scope and the connector reference, repository name, or file path to update.

  • Update Environment Group

    Update an existing Harness environment group by identifier using its YAML definition. Optionally supply organization, project, color, conditional-update entity tag, and Git update selectors. For Git updates, provide last_object_id from the entity GET response. Returns the updated group and linked environments.

  • Update Execution Notes

    Update the notes for a Harness pipeline execution in a project.

  • Update Infrastructure

    Update an existing Harness infrastructure definition by identifier using its complete YAML specification. Optional fields supply organization, project, environment reference, display details, tags, provider type, and service discovery settings. Returns the updated infrastructure with available validity, discovery, and governance evaluation results.

  • Update Infrastructure Git Metadata

    Update Git metadata for an existing remote Harness infrastructure in an environment. Optionally supply organization, project, Git connector, repository name, and definition file path. Returns the updated infrastructure identifier when supplied by Harness.

  • Update Input Set

    Update an existing Harness pipeline input set using its complete replacement YAML definition. Specify its organization, project, pipeline, and input set identifier. Supports Git branch, commit, and entity-version controls. Returns the saved input set and validity details.

  • Update Input Set Git Metadata

    Update Git metadata for an existing remote Harness pipeline input set. Specify its organization, project, pipeline, and input set identifier, with optional connector reference, repository name, and file path. Returns the updated input set identifier when supplied by Harness.

  • Update Organization

    Update settings of an existing Harness organization in the connected account. Optionally supply If-Match to check the organization version.

  • Update Overlay Input Set

    Update an existing Harness pipeline overlay input set with its complete replacement YAML definition. Specify the organization, project, pipeline, and overlay input set identifier. Supports Git branch, commit, and entity-version controls. Returns the saved overlay and validity details.

  • Update Pipeline

    Update a Harness pipeline by identifier using its complete YAML definition. Supports Git-synced updates, optimistic concurrency, dynamic executions, and public access settings.

  • Update Pipeline Git Metadata

    Update Git metadata for a remote Harness pipeline in the specified organization and project. Optionally set its connector reference, repository name, and file path. Returns the identifier of the updated pipeline.

  • Update Pipeline Trigger

    Update an existing Harness pipeline trigger from replacement YAML in an organization and project, optionally setting its executor identity and a conditional entity tag. Returns saved trigger details and any validation errors.

  • Update Pipeline Trigger From YAML

    Update an existing Harness pipeline trigger with a complete replacement YAML definition in an organization and project. Supports a conditional entity tag and returns saved trigger details and validation diagnostics. To supply an executor identity separately, use Update Pipeline Trigger.

  • Update Project

    Update a Harness project's details, including its name, description, color, enabled modules, and tags. Optionally supply the project version in if_match for optimistic concurrency control.

PreviousPage 7 / 8Next