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 Approval Activity

    Approve or reject a Harness pipeline approval instance, optionally recording comments and custom approver inputs. Returns the resulting approval instance.

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

  • Check Environment Allowed Values

    Check for allowed-values usage in Harness environments for the connected account. Returns the entities using allowed-values and whether all entries were checked. This check does not modify environments.

  • Check Execution Retry

    Check whether a Harness pipeline execution can be retried using its plan execution ID, organization, and project. Returns retry eligibility without starting a retry.

  • Check Rollback Eligibility

    Check whether a Harness service instance can be rolled back using its instance key and infrastructure mapping ID. Returns eligibility, an explanation, and swim lane information without starting a rollback.

  • Check Service Allowed Values

    Check for allowed-values usage in Harness services in the connected account. Returns service references and whether all entries were checked. This check does not modify services.

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

  • Create Environment

    Create a Production or PreProduction environment in the connected Harness account, with optional organization and project identifiers, display details, tags, and YAML. Returns the created environment, validity details, and governance results when available.

  • Create Environment Group

    Create a Harness environment group from its YAML definition in the connected account. Optionally specify organization, project, identifier, color, and Old Git Sync selectors. Returns the group, linked environments, and evaluation details.

  • Create Environments Batch

    Create up to 1000 Harness environments in one request with partial success support. Each environment specifies its type and optional scope, display details, tags, and YAML. Returns successful environments, individual failures with scope and error details, and provider totals. A successful batch response can contain failed items; inspect failed before retrying those items.

  • Create Infrastructure

    Create an infrastructure definition in a Harness environment using its YAML specification. YAML alone is sufficient; optional fields supply identifiers, display details, tags, provider type, and service discovery settings. Returns the created infrastructure and available validity, discovery, and governance results.

  • Create Input Set

    Create a Harness pipeline input set from its complete YAML definition in a specified organization, project, and pipeline. Supports inline or Git-backed storage and optional branch creation. Returns input set and validity details.

  • Create Organization

    Create a Harness organization in the connected account with optional identifier, name, description, and tags. Returns its details and metadata.

  • Create Overlay Input Set

    Create an overlay input set for a Harness pipeline from its complete YAML definition, combining referenced input sets. Supports inline or Git-backed storage and optional branch creation. Returns the overlay and validity details.

  • Create Pipeline

    Create a Harness pipeline from its complete YAML definition in a specified organization and project. Supports inline or Git-backed storage and optional branch creation. Returns the pipeline identifier, governance evaluation, and public access outcome.

  • Create Pipeline Trigger

    Create a Harness pipeline trigger resource from YAML in an organization and project, optionally specifying the user or service account that executes it. Returns saved trigger details and any validation errors.

  • Create Pipeline Trigger From YAML

    Create a Harness pipeline trigger from a complete raw YAML definition in an organization and project. Uses the original YAML trigger endpoint; returns saved trigger details and validation diagnostics. To supply an executor identity separately, use Create Pipeline Trigger.

  • Create Project

    Create a Harness project in the connected account, optionally in a specified organization, with a name, identifier, modules, color, description, and tags. Returns the created project and its metadata.

  • Create Service

    Create a service in the connected Harness account, with optional organization and project identifiers, name, description, tags, and YAML definition. Returns the created service, validity details, and governance results when available.

  • Create Service Override

    Create a Harness V2 service override for an environment, service, infrastructure or cluster in the connected account. Supply target references and override type, with structured variables, manifests, configuration files or YAML. Optionally provide an identifier and Git storage/commit settings. Returns the created override and governance results.

Page 1 / 8Next