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

Triggers Events

This contains APIs related to Trigger Event History.

Get all the polled response for a given trigger

get

Get all the polled response for a given trigger

Path parameters
triggerIdentifierstringRequired
Query parameters
accountIdentifierstringRequired
orgIdentifierstringRequired
projectIdentifierstringRequired
targetIdentifierstringRequired

Identifier of the target pipeline under which trigger resides

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/triggers/eventHistory/polledResponse/{triggerIdentifier}
GET /gateway/pipeline/api/triggers/eventHistory/polledResponse/{triggerIdentifier}?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&targetIdentifier=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 event history for a trigger

get

Get event history for a trigger

Path parameters
triggerIdentifierstringRequired
Query parameters
accountIdentifierstringRequired
orgIdentifierstringRequired
projectIdentifierstringRequired
targetIdentifierstringRequired

Identifier of the target pipeline under which trigger resides

searchTermstringOptional

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

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.

shouldSendTriggerPayloadbooleanOptionalDefault: true
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/triggers/eventHistory/{triggerIdentifier}
GET /gateway/pipeline/api/triggers/eventHistory/{triggerIdentifier}?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&targetIdentifier=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 event history for a trigger using filters.

get

Get event history for a trigger using filters.

Query parameters
accountIdentifierstringRequired
orgIdentifierstringRequired
projectIdentifierstringRequired
targetIdentifierstringRequired

Identifier of the target pipeline under which trigger resides

triggerIdentifierstringOptional
statusstring[]Optional
triggerTypestring · enumOptionalPossible values:
pageinteger · int32Optional

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

Default: 0
sizeinteger · int32Optional

Results per page

Default: 10
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/triggers/eventHistory/events
GET /gateway/pipeline/api/triggers/eventHistory/events?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&targetIdentifier=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 Trigger history event correlation

get

Get Trigger history event correlation

Path parameters
eventCorrelationIdstringRequired
Query parameters
accountIdentifierstringRequired
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.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/triggers/eventHistory/eventCorrelation/{eventCorrelationId}
GET /gateway/pipeline/api/triggers/eventHistory/eventCorrelation/{eventCorrelationId}?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 Trigger history event correlation V2

get

Get Trigger history event correlation V2

Path parameters
eventCorrelationIdstringRequired
Query parameters
accountIdentifierstringRequired
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.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/triggers/eventHistory/v2/eventCorrelation/{eventCorrelationId}
GET /gateway/pipeline/api/triggers/eventHistory/v2/eventCorrelation/{eventCorrelationId}?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 artifact and manifest trigger event history based on build source type

get

Get artifact and manifest trigger event history based on build source type

Query parameters
accountIdentifierstringRequired
orgIdentifierstringOptional
projectIdentifierstringOptional
targetIdentifierstringOptional

Identifier of the target pipeline under which trigger resides

artifactTypestringOptional

Type of artifact source

searchTermstringOptional

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

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.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/triggers/eventHistory/artifact-manifest-info
GET /gateway/pipeline/api/triggers/eventHistory/artifact-manifest-info?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?