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.

  • Add Execution Tags

    Add tags to a completed Harness pipeline execution. Existing tags are preserved unless a supplied key matches, in which case its value is overwritten.

  • Convert Pipeline to DAG

    Convert an existing Harness sequential pipeline to DAG format by adding depends_on fields to stages. Specify the pipeline, organization, and project. Returns converted pipeline YAML and available validation, governance, Git, and storage metadata.

  • Interrupt Execution

    Issue an interrupt on a Harness pipeline execution in a project. Choose AbortAll to abort the execution or UserMarkedFailure to mark it as failed. Returns the issued interrupt details, rather than waiting for execution completion.

  • Interrupt Execution Node

    Apply an AbortAll or UserMarkedFailure interrupt to a specific running step or stage in a Harness pipeline execution. Returns the issued interrupt ID and type; this does not wait for execution to finish.

  • Move environment to Git

    Move a Harness environment's YAML configuration between inline storage and Git. Set move_config_type to INLINE_TO_REMOTE for Git storage or REMOTE_TO_INLINE to return to inline storage. Supply the environment's scope and relevant repository, connector, branch, file path, and commit options.

  • Move infrastructure to Git

    Move a Harness infrastructure's YAML configuration between inline storage and Git. Set move_config_type to INLINE_TO_REMOTE for Git storage or REMOTE_TO_INLINE to return to inline storage. Supply the infrastructure and environment identifiers, scope, and relevant repository, connector, branch, file path, and commit options.

  • Move Service Override Config

    Move a Harness service override YAML configuration from inline storage to a remote repository, or from remote storage to inline. Supply the override selectors, move direction and repository settings as applicable. Returns the successfully moved override's identifier and scope.

  • Move service to Git

    Move a Harness service's YAML configuration between inline storage and Git. Use move_config_type INLINE_TO_REMOTE to move to Git or REMOTE_TO_INLINE to return to inline storage. Supply the service scope and applicable Git connector, repository, branch, file path, and commit options.

  • Refresh Pipeline Template Inputs

    Recursively refresh and update all template inputs in a Harness pipeline. Supply the pipeline identifier and its organization/project scope, and Git location and concurrency fields when updating a Git-synced pipeline. Returns the provider's boolean refresh result.

  • Resolve Manual Execution

    Resume a manual execution node or mark it as failed in a Harness pipeline execution. Requires the node execution ID and its organization and project. Returns the request result without waiting for the pipeline to finish.

  • 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.

Page 1 / 2Next