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

Queued Pipeline Executions

APIs for observing queued pipeline executions at account level

Bulk Abort Queued Pipelines

post

Aborts multiple queued pipeline executions at account level

Query parameters
accountIdentifierstringRequired

Account Identifier

Body

Request to bulk abort queued pipeline executions

planExecutionIdsstring[] · min: 1 · max: 500Required

List of plan execution IDs to abort

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/pipelines/queue-management/bulk-abort
POST /gateway/pipeline/api/pipelines/queue-management/bulk-abort?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Content-Type: application/json
Accept: */*
Content-Length: 29

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

List Queued/Running Pipelines

post

Lists queued and/or running pipeline executions at account level. Queued rows carry a global queue position; running rows do not. Use the 'mode' parameter to switch between QUEUED, RUNNING and BOTH.

Query parameters
accountIdentifierstringRequired

Account Identifier

pageinteger · int32Optional

Page index (0-based)

Default: 0
sizeinteger · int32Optional

Page size (max 100)

Default: 20
searchTermstringOptional

Free-text search on pipeline name or identifier

filterIdentifierstringOptional

Identifier of a saved filter of type 'QueuedPipeline' to apply. Cannot be used together with the request body filter properties.

Body

Filter criteria for listing queued pipeline executions. Pass inline as the request body, or save via POST /filters with filterType QueuedPipeline and reference by filterIdentifier.

filterTypestring · enumRequired

This specifies the corresponding Entity of the filter.

Possible values:
orgIdentifiersstring[]Optional

Filter by organization identifiers

projectIdentifiersstring[]Optional

Filter by project identifiers

pipelineIdentifiersstring[]Optional

Filter by pipeline identifiers

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/pipelines/queue-management/queued-pipelines
POST /gateway/pipeline/api/pipelines/queue-management/queued-pipelines?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Content-Type: application/json
Accept: */*
Content-Length: 378

{
  "tags": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  },
  "filterType": "Connector",
  "orgIdentifiers": [
    "text"
  ],
  "projectIdentifiers": [
    "text"
  ],
  "pipelineIdentifiers": [
    "text"
  ],
  "statuses": [
    "Running"
  ],
  "priorityTypes": [
    "HIGH"
  ],
  "triggerTypes": [
    "NOOP"
  ],
  "pipelineTags": [
    {
      "key": "text",
      "value": "text"
    }
  ],
  "queuedTimeRange": {
    "startTime": 1,
    "endTime": 1,
    "relativeTime": "text",
    "timeRangeFilterType": "LAST_7_DAYS"
  }
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Last updated

Was this helpful?