Search for Triggered Pipeline Executions
This guide describes how to use the API to search for pipeline executions triggered by Pub/Sub messages or webhooks.
When you create the Pub/Sub message, add a field that can be used to identify the message. For example, you can add an field with a randomly generated GUID string as its value.
Query your triggered pipelines
To query for pipeline triggered by a specific Pub/Sub message, you can structure your API call with the following information:
This call will return a list of pipeline executions triggered by a trigger with the given information, sorted by trigger time in reverse order so that newer executions are first in the list.
Query your webhook-triggered pipeline
To query for pipeline executions triggered by a specific webhook call, you can structure your API call with the following information:
This call will return a list of pipeline executions triggered by a trigger with the given information, sorted by trigger time in reverse order so that newer executions are first in the list.