Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Orchestration Processes [Beta]

Create Orchestration Process

post

Create a new orchestration process

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
yamlstringRequired

YAML configuration for the orchestration process

Responses
200

Response for successful orchestration process creation

application/json
identifierstringRequired

Identifier of the created process

yamlstringRequired

YAML configuration of the process

post/orchestration/process
POST /api/orchestration/process HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 200

{
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "yaml": "text"
}
{
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "governanceMetadata": {
    "accountId": "text",
    "action": "text",
    "created": "text",
    "deny": true,
    "details": [
      {
        "accountId": "text",
        "created": "text",
        "deny": true,
        "description": "text",
        "identifier": "text",
        "orgId": "text",
        "policyMetadata": [
          {
            "accountId": "text",
            "created": "text",
            "denyMessages": [
              "text"
            ],
            "error": "text",
            "identifier": "text",
            "orgId": "text",
            "policyId": "text",
            "policyName": "text",
            "projectId": "text",
            "severity": "text",
            "status": "text",
            "updated": "text"
          }
        ],
        "policySetId": "text",
        "policySetName": "text",
        "projectId": "text",
        "status": "text"
      }
    ],
    "entity": "text",
    "id": "text",
    "message": "text",
    "orgId": "text",
    "projectId": "text",
    "status": "text",
    "timestamp": "text",
    "type": "text"
  },
  "identifier": "text",
  "yaml": "text"
}

Fetch List of Orchestration Processes

get
Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

searchTermstringOptional

Optional search string to filter releases by name.

pageintegerOptional
sizeintegerOptional
sortstring[]Optional

Sort parameters as an array. Format: [field_name, direction] where direction is asc or desc. Supported fields: start_ts, startTs, end_ts, endTs, last_updated_at, lastUpdatedAt, created_at, createdAt, name, identifier, status, type. When used in query params, use format: sort=field_name&sort=direction (e.g., sort=start_ts&sort=desc).

Example: {"value":["created_at","asc"]}
processIdentifiersstring[]Optional

Optional list of process identifiers to filter by. Supports scope prefixes: "account.", "org.", or plain "" (project scope).

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

This wraps the list of all orchestration processes along with pagination

application/json
emptybooleanRequired
firstbooleanRequired
lastbooleanRequired
numberintegerRequired
numberOfElementsintegerRequired
sizeintegerRequired
totalElementsintegerRequired
totalPagesintegerRequired
get/orchestration/process/summary
GET /api/orchestration/process/summary HTTP/1.1
Harness-Account: text
Accept: */*
{
  "content": [
    {
      "attachedReleaseGroupCount": 1,
      "createdAt": 1,
      "createdBy": {
        "email": "text",
        "identifier": "text",
        "name": "text"
      },
      "description": "text",
      "git_details": {
        "base_branch": "text",
        "branch": "text",
        "commit_msg": "text",
        "connector_ref": "text",
        "file_url": "text",
        "is_new_branch": true,
        "path": "text",
        "repo": "text",
        "store_type": "INLINE"
      },
      "identifier": "text",
      "lastUpdatedAt": 1,
      "lastUpdatedBy": {
        "email": "text",
        "identifier": "text",
        "name": "text"
      },
      "name": "text"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 1,
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "pageNumber": 1,
    "pageSize": 1,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 1,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 1,
  "totalPages": 1
}

Get Orchestration Process

get

Get orchestration process by identifier

Path parameters
identifierstringRequired

Identifier of the orchestration process

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

git_branchstringOptional

Optional git branch to fetch the process YAML from (for remote/git-backed processes)

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

Response for Get Orchestration Process API

application/json
identifierstringRequired

Identifier of the orchestration process

yamlstringRequired

YAML representation of the orchestration process

get/orchestration/process/{identifier}
GET /api/orchestration/process/{identifier} HTTP/1.1
Harness-Account: text
Accept: */*
{
  "cache_response": {
    "cache_state": "VALID_CACHE",
    "is_sync_enabled": true,
    "last_updated_at": 1,
    "ttl_left": 1
  },
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "identifier": "text",
  "yaml": "text"
}

Update Orchestration Process

put

Update an orchestration process with the provided YAML configuration

Path parameters
identifierstringRequired

The identifier of the orchestration process to update

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
yamlstringRequired
Responses
200

Response for successful orchestration process update

application/json
identifierstringRequired

Identifier of the updated orchestration process

yamlstringRequired

YAML configuration of the updated orchestration process

put/orchestration/process/{identifier}
PUT /api/orchestration/process/{identifier} HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 200

{
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "yaml": "text"
}
{
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "governanceMetadata": {
    "accountId": "text",
    "action": "text",
    "created": "text",
    "deny": true,
    "details": [
      {
        "accountId": "text",
        "created": "text",
        "deny": true,
        "description": "text",
        "identifier": "text",
        "orgId": "text",
        "policyMetadata": [
          {
            "accountId": "text",
            "created": "text",
            "denyMessages": [
              "text"
            ],
            "error": "text",
            "identifier": "text",
            "orgId": "text",
            "policyId": "text",
            "policyName": "text",
            "projectId": "text",
            "severity": "text",
            "status": "text",
            "updated": "text"
          }
        ],
        "policySetId": "text",
        "policySetName": "text",
        "projectId": "text",
        "status": "text"
      }
    ],
    "entity": "text",
    "id": "text",
    "message": "text",
    "orgId": "text",
    "projectId": "text",
    "status": "text",
    "timestamp": "text",
    "type": "text"
  },
  "identifier": "text",
  "yaml": "text"
}

Delete Orchestration Process

delete

Delete an orchestration process by identifier

Path parameters
identifierstringRequired

The identifier of the orchestration process to delete

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
204

Orchestration process deleted successfully

No content

delete/orchestration/process/{identifier}
DELETE /api/orchestration/process/{identifier} HTTP/1.1
Harness-Account: text
Accept: */*

No content

Fetch List of Attached Release Groups for Orchestration Process

post

Retrieve a paginated list of release groups attached to orchestration processes with optional filtering

Path parameters
identifierstringRequired

The identifier of the orchestration process

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

pageintegerOptional
sizeintegerOptional
sortstring[]Optional

Sort parameters as an array. Format: [field_name, direction] where direction is asc or desc. Supported fields: start_ts, startTs, end_ts, endTs, last_updated_at, lastUpdatedAt, created_at, createdAt, name, identifier, status, type. When used in query params, use format: sort=field_name&sort=direction (e.g., sort=start_ts&sort=desc).

Example: {"value":["created_at","asc"]}
searchTermstringOptional

Optional search string to filter releases by name.

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
filterOrgIdentifierstringOptional

Optional organization identifier to filter processes

filterProjectIdentifierstringOptional

Optional project identifier to filter processes

Responses
200

Paginated list of release groups attached to orchestration processes

application/json
emptybooleanRequired
firstbooleanRequired
lastbooleanRequired
numberintegerRequired
numberOfElementsintegerRequired
sizeintegerRequired
totalElementsintegerRequired
totalPagesintegerRequired
post/orchestration/process/{identifier}/attachedReleaseGroups
POST /api/orchestration/process/{identifier}/attachedReleaseGroups HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 63

{
  "filterOrgIdentifier": "text",
  "filterProjectIdentifier": "text"
}
{
  "content": [
    {
      "accountIdentifier": "text",
      "id": "text",
      "identifier": "text",
      "name": "text",
      "orgIdentifier": "text",
      "projectIdentifier": "text"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 1,
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "pageNumber": 1,
    "pageSize": 1,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 1,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 1,
  "totalPages": 1
}

Execute Orchestration Process

post

Execute an orchestration process without creating a release (on-the-go execution)

Path parameters
identifierstringRequired

The identifier of the orchestration process to execute

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
gitBranchstringOptional

Optional branch to fetch remote process/activity YAMLs from. If omitted, the default branch is used.

inputIdentifierstringRequired

Process input identifier to use for this execution (required)

inputYamlstringRequired

Input YAML to configure global and phase inputs for this execution

Responses
200

Execution started successfully

application/json

Response for starting a release or process execution

executionIdstringOptional

Navigation slug for the started process execution (on-the-go process execute only)

identifierstringRequired

Identifier of the started release or orchestration process

yamlstringRequired

YAML content of the release or execution input

post/orchestration/process/{identifier}/execute
POST /api/orchestration/process/{identifier}/execute HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 64

{
  "gitBranch": "text",
  "inputIdentifier": "text",
  "inputYaml": "text"
}
{
  "executionId": "text",
  "governanceMetadata": {
    "accountId": "text",
    "action": "text",
    "created": "text",
    "deny": true,
    "details": [
      {
        "accountId": "text",
        "created": "text",
        "deny": true,
        "description": "text",
        "identifier": "text",
        "orgId": "text",
        "policyMetadata": [
          {
            "accountId": "text",
            "created": "text",
            "denyMessages": [
              "text"
            ],
            "error": "text",
            "identifier": "text",
            "orgId": "text",
            "policyId": "text",
            "policyName": "text",
            "projectId": "text",
            "severity": "text",
            "status": "text",
            "updated": "text"
          }
        ],
        "policySetId": "text",
        "policySetName": "text",
        "projectId": "text",
        "status": "text"
      }
    ],
    "entity": "text",
    "id": "text",
    "message": "text",
    "orgId": "text",
    "projectId": "text",
    "status": "text",
    "timestamp": "text",
    "type": "text"
  },
  "identifier": "text",
  "yaml": "text"
}

Get Process Execution History

get

Get list of all executions (on-the-go runs) for a specific process

Path parameters
identifierstringRequired

The identifier of the orchestration process

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

pageintegerOptional
sizeintegerOptional
sortstring[]Optional

Sort parameters as an array. Format: [field_name, direction] where direction is asc or desc. Supported fields: start_ts, startTs, end_ts, endTs, last_updated_at, lastUpdatedAt, created_at, createdAt, name, identifier, status, type. When used in query params, use format: sort=field_name&sort=direction (e.g., sort=start_ts&sort=desc).

Example: {"value":["created_at","asc"]}
executionTypestring · enumOptional

Filter by execution type (PROCESS for on-the-go executions, RELEASE for release-based executions). If not provided, returns all executions.

Possible values:
startTsinteger · int64Optional

Filter executions created on or after this timestamp (milliseconds)

endTsinteger · int64Optional

Filter executions created on or before this timestamp (milliseconds)

git_branchstringOptional

Filter executions by the git branch they were triggered on (remote processes only)

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

Process execution history retrieved successfully

application/json
get/orchestration/process/{identifier}/executions
GET /api/orchestration/process/{identifier}/executions HTTP/1.1
Harness-Account: text
Accept: */*
{
  "content": {
    "content": [
      {
        "createdAt": 1,
        "endedAt": 1,
        "executionId": "text",
        "executionType": "RELEASE",
        "processIdentifier": "text",
        "processInputIdentifier": "text",
        "processName": "text",
        "releaseInfo": {
          "identifier": "text",
          "version": "text"
        },
        "startedAt": 1,
        "status": "Running",
        "triggeredBy": {
          "avatar": "text",
          "email": "text",
          "id": "text",
          "name": "text",
          "triggerType": "MANUAL"
        },
        "updatedAt": 1
      }
    ],
    "last": true,
    "number": 1,
    "size": 1,
    "totalElements": 1,
    "totalPages": 1
  }
}

Create Orchestration Process Input

post

Create a new orchestration process input with the provided YAML configuration

Path parameters
identifierstringRequired

The identifier of the orchestration process

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
yamlstringRequired

YAML configuration for the orchestration process input

Responses
200

Response for successful orchestration process input creation

application/json
identifierstringRequired

Identifier of the orchestration process

yamlstringRequired

YAML configuration of the process input

post/orchestration/process/{identifier}/input
POST /api/orchestration/process/{identifier}/input HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 200

{
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "yaml": "text"
}
{
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "identifier": "text",
  "yaml": "text"
}

Get Orchestration Process Metadata

get

Retrieve metadata for an orchestration process without its YAML content

Path parameters
identifierstringRequired

Identifier of the orchestration process

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

Metadata for a single orchestration process (no YAML)

application/json
attachedReleaseGroupCountintegerRequired
createdAtinteger · int64Required
descriptionstringOptional
identifierstringRequired
lastUpdatedAtinteger · int64Required
namestringRequired
get/orchestration/process/{identifier}/metadata
GET /api/orchestration/process/{identifier}/metadata HTTP/1.1
Harness-Account: text
Accept: */*
{
  "attachedReleaseGroupCount": 1,
  "createdAt": 1,
  "createdBy": {
    "email": "text",
    "identifier": "text",
    "name": "text"
  },
  "description": "text",
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "identifier": "text",
  "lastUpdatedAt": 1,
  "lastUpdatedBy": {
    "email": "text",
    "identifier": "text",
    "name": "text"
  },
  "name": "text"
}

Move Orchestration Process to Git

post

Move an inline orchestration process to a remote git repository. Processes already stored remotely cannot be moved. Existing process inputs are left unchanged (may remain INLINE).

Path parameters
identifierstringRequired

The identifier of the orchestration process to move

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
Responses
200

Response for Get Orchestration Process API

application/json
identifierstringRequired

Identifier of the orchestration process

yamlstringRequired

YAML representation of the orchestration process

post/orchestration/process/{identifier}/move-config
POST /api/orchestration/process/{identifier}/move-config HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 186

{
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  }
}
{
  "cache_response": {
    "cache_state": "VALID_CACHE",
    "is_sync_enabled": true,
    "last_updated_at": 1,
    "ttl_left": 1
  },
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "identifier": "text",
  "yaml": "text"
}

Fetch List of Orchestration Process Inputs

get

Retrieve a paginated list of orchestration process inputs for a specific process

Path parameters
processIdentifierstringRequired

The identifier of the orchestration process

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

pageintegerOptional
sizeintegerOptional
sortstring[]Optional

Sort parameters as an array. Format: [field_name, direction] where direction is asc or desc. Supported fields: start_ts, startTs, end_ts, endTs, last_updated_at, lastUpdatedAt, created_at, createdAt, name, identifier, status, type. When used in query params, use format: sort=field_name&sort=direction (e.g., sort=start_ts&sort=desc).

Example: {"value":["created_at","asc"]}
searchTermstringOptional

Optional search string to filter releases by name.

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

Paginated list of orchestration process inputs

application/json
emptybooleanRequired
firstbooleanRequired
lastbooleanRequired
numberintegerRequired
numberOfElementsintegerRequired
sizeintegerRequired
totalElementsintegerRequired
totalPagesintegerRequired
get/orchestration/process/{processIdentifier}/input/summary
GET /api/orchestration/process/{processIdentifier}/input/summary HTTP/1.1
Harness-Account: text
Accept: */*
{
  "content": [
    {
      "description": "text",
      "git_details": {
        "base_branch": "text",
        "branch": "text",
        "commit_msg": "text",
        "connector_ref": "text",
        "file_url": "text",
        "is_new_branch": true,
        "path": "text",
        "repo": "text",
        "store_type": "INLINE"
      },
      "identifier": "text",
      "lastUpdatedAt": 1,
      "lastUpdatedBy": {
        "email": "text",
        "identifier": "text",
        "name": "text"
      },
      "name": "text",
      "status": "Incomplete"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 1,
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "pageNumber": 1,
    "pageSize": 1,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 1,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 1,
  "totalPages": 1
}

Get Orchestration Process Input

get

Get an orchestration process input by process identifier and input identifier

Path parameters
processIdentifierstringRequired

The identifier of the orchestration process

identifierstringRequired

The identifier of the orchestration process input

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

git_branchstringOptional

Optional git branch to fetch the process input YAML from (for remote/git-backed process inputs)

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

Response for successful orchestration process input retrieval

application/json
identifierstringRequired

Identifier of the orchestration process input

processIdentifierstringRequired

Identifier of the orchestration process

yamlstringRequired

YAML configuration of the orchestration process input

get/orchestration/process/{processIdentifier}/input/{identifier}
GET /api/orchestration/process/{processIdentifier}/input/{identifier} HTTP/1.1
Harness-Account: text
Accept: */*
{
  "cache_response": {
    "cache_state": "VALID_CACHE",
    "is_sync_enabled": true,
    "last_updated_at": 1,
    "ttl_left": 1
  },
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "identifier": "text",
  "processIdentifier": "text",
  "yaml": "text"
}

Update Orchestration Process Input

put

Update an orchestration process input with the provided YAML configuration

Path parameters
processIdentifierstringRequired

The identifier of the orchestration process

identifierstringRequired

The identifier of the orchestration process input to update

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
yamlstringRequired

YAML configuration for the orchestration process input

Responses
200

Response for successful orchestration process input update

application/json
identifierstringRequired

Identifier of the updated orchestration process input

processIdentifierstringRequired

Identifier of the orchestration process

yamlstringRequired

YAML configuration of the updated orchestration process input

put/orchestration/process/{processIdentifier}/input/{identifier}
PUT /api/orchestration/process/{processIdentifier}/input/{identifier} HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 200

{
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "yaml": "text"
}
{
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "identifier": "text",
  "processIdentifier": "text",
  "yaml": "text"
}

Delete Orchestration Process Input

delete

Delete an orchestration process input by process identifier and input identifier

Path parameters
processIdentifierstringRequired

The identifier of the orchestration process

identifierstringRequired

The identifier of the orchestration process input to delete

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
204

Orchestration process input deleted successfully

No content

delete/orchestration/process/{processIdentifier}/input/{identifier}
DELETE /api/orchestration/process/{processIdentifier}/input/{identifier} HTTP/1.1
Harness-Account: text
Accept: */*

No content

Move Orchestration Process Input to Git

post

Move an inline process input to a remote git repository. Parent process must be remote. Input already stored remotely cannot be moved. Git repository and connector must match the parent process. Branch is required but is not validated against a process-pinned branch (processes do not persist a branch; Save-to-Git may commit to a new branch).

Path parameters
processIdentifierstringRequired

The identifier of the orchestration process

identifierstringRequired

The identifier of the orchestration process input

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
Responses
200

Response for successful orchestration process input retrieval

application/json
identifierstringRequired

Identifier of the orchestration process input

processIdentifierstringRequired

Identifier of the orchestration process

yamlstringRequired

YAML configuration of the orchestration process input

post/orchestration/process/{processIdentifier}/input/{identifier}/move-config
POST /api/orchestration/process/{processIdentifier}/input/{identifier}/move-config HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 186

{
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  }
}
{
  "cache_response": {
    "cache_state": "VALID_CACHE",
    "is_sync_enabled": true,
    "last_updated_at": 1,
    "ttl_left": 1
  },
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "identifier": "text",
  "processIdentifier": "text",
  "yaml": "text"
}

Validate Orchestration Process Input

post

On-demand cross-entity validation for a process input. Checks that all activity with keys are recognised (X4 warning) and that all required activity inputs are covered (X5 error). Returns HTTP 200 with a validation report regardless of outcome — never modifies any state.

Path parameters
processIdentifierstringRequired

The identifier of the orchestration process

identifierstringRequired

The identifier of the orchestration process input

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

Result of an on-demand process input cross-entity validation

application/json

Result of an on-demand process input cross-entity validation (X4/X5)

errorsstring[]Required

Blocking validation errors (e.g. required activity inputs not covered by with values)

warningsstring[]Required

Non-blocking validation warnings (e.g. with keys not present in activity inputs definitions)

post/orchestration/process/{processIdentifier}/input/{identifier}/validate
POST /api/orchestration/process/{processIdentifier}/input/{identifier}/validate HTTP/1.1
Harness-Account: text
Accept: */*
{
  "errors": [
    "text"
  ],
  "warnings": [
    "text"
  ]
}

Get Orchestration Process Input Metadata

get

Retrieve metadata for an orchestration process input without its YAML content

Path parameters
processIdentifierstringRequired

Identifier of the orchestration process

inputIdentifierstringRequired

Identifier of the orchestration process input

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

Metadata for a single orchestration process input (no YAML)

application/json
descriptionstringOptional
identifierstringRequired
lastUpdatedAtinteger · int64Required
namestringRequired
statusstring · enumRequiredPossible values:
get/orchestration/process/{processIdentifier}/input/{inputIdentifier}/metadata
GET /api/orchestration/process/{processIdentifier}/input/{inputIdentifier}/metadata HTTP/1.1
Harness-Account: text
Accept: */*
{
  "description": "text",
  "git_details": {
    "base_branch": "text",
    "branch": "text",
    "commit_msg": "text",
    "connector_ref": "text",
    "file_url": "text",
    "is_new_branch": true,
    "path": "text",
    "repo": "text",
    "store_type": "INLINE"
  },
  "identifier": "text",
  "lastUpdatedAt": 1,
  "lastUpdatedBy": {
    "email": "text",
    "identifier": "text",
    "name": "text"
  },
  "name": "text",
  "status": "Incomplete"
}

Last updated

Was this helpful?