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

Pipeline Execution Details

This contains APIs for fetching Pipeline Execution Details

Adds tags to a completed pipelineExecution

post

Existing tags are left untouched unless their key matches one of the tags being added, in which case the existing tag's value is overwritten.

Path parameters
planExecutionIdstringRequired

ExecutionId of the execution for which we want to add tags

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

Bodyobject · NGTag[]

This is the view of the tags of the entity.

keystringRequired

Tag key

valuestringOptional

Tag value

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/pipelines/execution/{planExecutionId}/tags
POST /gateway/pipeline/api/pipelines/execution/{planExecutionId}/tags?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Content-Type: application/json
Accept: */*
Content-Length: 31

[
  {
    "key": "text",
    "value": "text"
  }
]
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Validate if Execution can be retried

get

Validates if an execution can be retried for a Given PlanExecution ID

Path parameters
planExecutionIdstringRequired

Plan Execution Id for which we want to check if it can be retried

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/canRetry/{planExecutionId}
GET /gateway/pipeline/api/pipelines/execution/canRetry/{planExecutionId}?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Fetch Full Annotation Content

get

Returns full annotation content for a specific context from GCS

Path parameters
planExecutionIdstringRequired

Plan Execution ID for the pipeline run

contextIdstringRequired

Context ID for the annotation

Pattern: .+
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

pipelineIdentifierstringRequired

Pipeline Identifier

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/{planExecutionId}/annotations/{contextId}/content
GET /gateway/pipeline/api/pipelines/execution/{planExecutionId}/annotations/{contextId}/content?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&pipelineIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}
Deprecated

Fetch Execution Details

get

Returns the Pipeline Execution Details for a Given PlanExecution ID

Path parameters
planExecutionIdstringRequired

Plan Execution Id for which we want to get the Execution details

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

stageNodeIdstringOptional

Stage Node Identifier for which Stage Graph needs to be Rendered

stageNodeExecutionIdstringOptional

Stage Node Execution ID for which Stage Graph needs to be Rendered. (Needed only when there are Multiple Runs for a Given Stage. It can be Extracted from LayoutNodeMap Field)

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/{planExecutionId}
GET /gateway/pipeline/api/pipelines/execution/{planExecutionId}?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Fetch Execution Details

get

Returns the Pipeline Execution Details for a Given PlanExecution ID

Path parameters
planExecutionIdstringRequired

Plan Execution Id for which we want to get the Execution details

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

stageNodeIdstringOptional

Stage Node Identifier for which Stage Graph needs to be Rendered

stageNodeExecutionIdstringOptional

Stage Node Execution ID for which Stage Graph needs to be Rendered. (Needed only when there are Multiple Runs for a Given Stage. It can be Extracted from LayoutNodeMap Field)

childStageNodeIdstringOptional

Stage Node Execution ID for which Stage Graph needs to be Rendered. (Needed only when there are Multiple Runs for a Given Stage. It can be Extracted from LayoutNodeMap Field)

childStageNodeExecutionIdstringOptional

Stage Node Execution ID for which Stage Graph needs to be Rendered. (Needed only when there are Multiple Runs for a Given Stage. It can be Extracted from LayoutNodeMap Field)

renderFullBottomGraphbooleanOptional

Generate Graph for all the Stages including Steps in each Stage

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/v2/{planExecutionId}
GET /gateway/pipeline/api/pipelines/execution/v2/{planExecutionId}?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Fetch Execution Graph

get

Returns the Pipeline Execution Graph for a Given PlanExecution ID

Path parameters
planExecutionIdstringRequired

Plan Execution Id for which we want to get the Execution details

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/getExecutionGraph/{planExecutionId}
GET /gateway/pipeline/api/pipelines/execution/getExecutionGraph/{planExecutionId}?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Fetch Execution SubGraph for a Given Retried StepGroup NodeExecution ID

get

Returns the Pipeline Execution SubGraph for a Given Retried StepGroup NodeExecution ID

Path parameters
nodeExecutionIdstringRequired

Node Execution Id for which we want to get the Execution SubGraph

planExecutionIdstringRequired

Plan Execution Id for which we want to get the Execution details

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/subGraph/{planExecutionId}/{nodeExecutionId}
GET /gateway/pipeline/api/pipelines/execution/subGraph/{planExecutionId}/{nodeExecutionId}?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Fetch Execution Url

post

Returns the Pipeline Execution Url for a Given PlanExecution ID

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

pipelineIdentifierstringRequired

Pipeline Id for which we want to get the Execution url

planExecutionIdstringRequired

Plan Execution Id for which we want to get the Execution url

modulesstring[]Optional

Modules

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/pipelines/execution/url
POST /gateway/pipeline/api/pipelines/execution/url?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&pipelineIdentifier=text&planExecutionId=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Get execution metadata of a pipeline execution

get
Path parameters
planExecutionIdstringRequired

ExecutionId of the execution for which we want to get Metadata

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/{planExecutionId}/metadata
GET /gateway/pipeline/api/pipelines/execution/{planExecutionId}/metadata?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Get the Input Set YAML used for given Plan Execution

get
Path parameters
planExecutionIdstringRequired

Plan Execution Id for which we want to get the Input Set YAML

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

resolveExpressionsbooleanOptional

A boolean that indicates whether or not expressions should be resolved in input set yaml

Default: false
resolveExpressionsTypestring · enumOptional

Resolve Expressions Type indicates what kind of expressions should be resolved in input set yaml. The default value is UNKNOWN in which case no expressions will be resolvedChoose a value from the enum list: [RESOLVE_ALL_EXPRESSIONS, RESOLVE_TRIGGER_EXPRESSIONS, UNKNOWN]

Default: UNKNOWNPossible values:
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/{planExecutionId}/inputsetV2
GET /gateway/pipeline/api/pipelines/execution/{planExecutionId}/inputsetV2?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Gets the policy evaluated used for given Plan Execution

get
Path parameters
planExecutionIdstringRequired

Plan Execution Id for which we want to get the Input Set YAML

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

pageinteger · int32Optional

Page Index of the results to fetch.Default Value: 0

Default: 0
sizeinteger · int32Optional

Results per page

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/{planExecutionId}/policy-evaluation
GET /gateway/pipeline/api/pipelines/execution/{planExecutionId}/policy-evaluation?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

List Execution Identifier

post

Returns a List of Pipeline Executions Identifier with Specific Filter

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

pipelineIdentifierstringOptional

Pipeline Identifier filter if exact pipelines needs to be filtered.

pageinteger · int32Optional

Page Index of the results to fetch.Default Value: 0

Default: 0
sizeinteger · int32Optional

Results per page

Default: 10
branchstringOptional

Name of the branch.

repoIdentifierstringOptional

Git Sync Config Id. [Applicable for Old Git Sync only]

getDefaultFromOtherRepobooleanOptional

if true, return all the default entities

filterIdentifierstringOptional
Body

Properties of the Filter entity defined in Harness.

filterTypestring · enumRequired

This specifies the corresponding Entity of the filter.

Possible values:
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/pipelines/execution/executionSummary
POST /gateway/pipeline/api/pipelines/execution/executionSummary?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Content-Type: application/json
Accept: */*
Content-Length: 933

{
  "filterType": "PipelineExecution",
  "pipelineTags": [
    {
      "key": "tag1",
      "value": "value1"
    },
    {
      "key": "tag2",
      "value": "value2"
    }
  ],
  "status": [
    "Success",
    "Failed",
    "Running"
  ],
  "pipelineName": "My Pipeline",
  "timeRange": {
    "timeRangeFilterType": "LAST_30_DAYS"
  },
  "moduleProperties": {
    "cd": {
      "serviceIdentifiers": [
        "service1",
        "service2"
      ],
      "envIdentifiers": [
        "dev",
        "prod"
      ],
      "artifactDisplayNames": [
        "library/nginx:stable",
        "stable"
      ],
      "serviceDefinitionTypes": [
        "Kubernetes",
        "NativeHelm"
      ],
      "helmChartVersions": [
        "chartV1",
        "chartV2"
      ],
      "gitOpsAppIdentifiers": [
        "app1",
        "app2"
      ]
    },
    "ci": {
      "ciExecutionInfoDTO": {
        "event": "pullRequest",
        "pullRequest": {
          "sourceBranch": "source-branch",
          "targetBranch": "target-branch"
        }
      }
    }
  },
  "triggerTypes": [
    "MANUAL",
    "WEBHOOK"
  ],
  "triggerIdentifiers": [
    "trigger1",
    "trigger2"
  ],
  "pipelineIdentifiers": [
    "pipeline1",
    "pipeline2"
  ],
  "myDeployments": true,
  "branchName": "main",
  "repo": "my-repo",
  "inputSetIdentifiers": [
    "inputSet1",
    "inputSet2"
  ],
  "planExecutionIds": [
    "exec1",
    "exec2"
  ]
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

List Executions

post

Returns a List of Pipeline Executions with Specific Filter

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

searchTermstringOptional

Search term to filter out pipelines based on pipeline name, identifier, tags.

pipelineIdentifierstringOptional

Pipeline Identifier filter if exact pipelines needs to be filtered.

pageinteger · int32Optional

Page Index of the results to fetch.Default Value: 0

Default: 0
sizeinteger · int32Optional

Results per page

Default: 10
sortstring[]Optional

Sort criteria for the elements.

filterIdentifierstringOptional

Identifier of a saved filter to apply. Cannot be used together with the request body filter properties. If both are provided, the saved filter takes precedence.

showAllExecutionsbooleanOptional

Whether to show all executions accessible to the user, not just those in the specified project. Defaults to false.

Default: false
modulestringOptional

Harness module which triggered the execution. Examples: CD, CI, CE, etc.

myDeploymentsbooleanOptional

Whether to filter executions triggered by the current user only

branchstringOptional

Name of the branch.

repoIdentifierstringOptional

Git Sync Config Id. [Applicable for Old Git Sync only]

getDefaultFromOtherRepobooleanOptional

if true, return all the default entities

Body

Filter properties for listing pipeline executions. The filterType field (inherited) is required and must be set to PipelineExecution.

filterTypestring · enumRequired

This specifies the corresponding Entity of the filter.

Possible values:
pipelineNamestringOptional

Filter executions by pipeline name (partial match supported).

triggerIdentifiersstring[]Optional

Filter executions by trigger identifiers.

executionModeFilterstring · enumOptional

Filter by execution mode (e.g. default executions only, rollback executions only, or all).

Possible values:
pipelineIdentifiersstring[]Optional

Filter executions by a list of pipeline identifiers.

myDeploymentsbooleanOptional

If true, returns only executions triggered by the current authenticated user.

branchNamestringOptional

Filter executions by the codebase/repository branch used during execution. This is different from the branch query parameter, which refers to the Git branch where the pipeline YAML definition is stored (for Git Experience / remote pipelines).

repostringOptional

Filter executions by the repository name associated with the execution.

inputSetIdentifiersstring[]Optional

Filter executions by input set identifiers used during execution.

planExecutionIdsstring[]Optional

Filter by specific plan execution IDs.

executionNotesstring[]Optional

Filter executions by execution notes content.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/pipelines/execution/summary
POST /gateway/pipeline/api/pipelines/execution/summary?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Content-Type: application/json
Accept: */*
Content-Length: 933

{
  "filterType": "PipelineExecution",
  "pipelineTags": [
    {
      "key": "tag1",
      "value": "value1"
    },
    {
      "key": "tag2",
      "value": "value2"
    }
  ],
  "status": [
    "Success",
    "Failed",
    "Running"
  ],
  "pipelineName": "My Pipeline",
  "timeRange": {
    "timeRangeFilterType": "LAST_30_DAYS"
  },
  "moduleProperties": {
    "cd": {
      "serviceIdentifiers": [
        "service1",
        "service2"
      ],
      "envIdentifiers": [
        "dev",
        "prod"
      ],
      "artifactDisplayNames": [
        "library/nginx:stable",
        "stable"
      ],
      "serviceDefinitionTypes": [
        "Kubernetes",
        "NativeHelm"
      ],
      "helmChartVersions": [
        "chartV1",
        "chartV2"
      ],
      "gitOpsAppIdentifiers": [
        "app1",
        "app2"
      ]
    },
    "ci": {
      "ciExecutionInfoDTO": {
        "event": "pullRequest",
        "pullRequest": {
          "sourceBranch": "source-branch",
          "targetBranch": "target-branch"
        }
      }
    }
  },
  "triggerTypes": [
    "MANUAL",
    "WEBHOOK"
  ],
  "triggerIdentifiers": [
    "trigger1",
    "trigger2"
  ],
  "pipelineIdentifiers": [
    "pipeline1",
    "pipeline2"
  ],
  "myDeployments": true,
  "branchName": "main",
  "repo": "my-repo",
  "inputSetIdentifiers": [
    "inputSet1",
    "inputSet2"
  ],
  "planExecutionIds": [
    "exec1",
    "exec2"
  ]
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

List Executions Outline

post

Returns a List of Pipeline Executions Outline given pipelineId or a list of executionIds

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

lastSeenExecutionIdstringOptional

lastSeenExecutionId from previous response

lastSeenStartTimeinteger · int64Optional

lastSeenStartTime from previous response

sizeinteger · int32Optional

Results per page

Default: 10
Body
pipelineIdentifierstringOptional
planExecutionIdsstring[]Optional
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/pipelines/execution/summary/outline
POST /gateway/pipeline/api/pipelines/execution/summary/outline?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Content-Type: application/json
Accept: */*
Content-Length: 184

{
  "timeRange": {
    "startTime": "1702443600000",
    "endTime": "1718810039288"
  },
  "pipelineIdentifier": "test",
  "status": [
    "Success"
  ],
  "planExecutionIds": [
    "executionId1",
    "executionId2",
    "executionId3"
  ]
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Get Notes for a pipelineExecution

get
Path parameters
planExecutionIdstringRequired

ExecutionId of the execution for which we want to get notes

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/{planExecutionId}/notes
GET /gateway/pipeline/api/pipelines/execution/{planExecutionId}/notes?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Updates Notes for a pipelineExecution

put
Path parameters
planExecutionIdstringRequired

ExecutionId of the execution for which we want to update notes

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

notesForPipelineExecutionstringRequired

Notes of a Pipeline Execution

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/pipelines/execution/{planExecutionId}/notes
PUT /gateway/pipeline/api/pipelines/execution/{planExecutionId}/notes?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&notesForPipelineExecution=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Fetch Pipeline Execution Annotations

get

Returns annotations for a specific pipeline execution

Path parameters
planExecutionIdstringRequired

Plan Execution ID for the pipeline run

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

pipelineIdentifierstringRequired

Pipeline Identifier

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/{planExecutionId}/annotations
GET /gateway/pipeline/api/pipelines/execution/{planExecutionId}/annotations?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&pipelineIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Get workflow graph for visualization

get

Returns the workflow graph for visualization

Path parameters
planExecutionIdstringRequired

Plan Execution Id for which we want to get the workflow graph

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

nodeExecutionIdstringOptional

Node Execution Id from which to start graph traversal

depthinteger · int32Optional

Maximum depth to traverse from the starting node

Default: 10
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/pipelines/execution/{planExecutionId}/workflow-graph
GET /gateway/pipeline/api/pipelines/execution/{planExecutionId}/workflow-graph?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Last updated

Was this helpful?