Triggers

Search events for a trigger

Search recent content events an existing trigger matches. Read-only — no webhook delivery is made. Covers the last seven days.

post/api/triggers/{trigger_id}/events/search

Path parameters

trigger_idstring required

ID of the trigger whose events to search.

Request body

page_sizeinteger

Maximum number of events to return.

Response

Successful response.

has_moreboolean required

Whether more events matched than were returned. Raise page_size to see more; cursor-based paging is not offered yet.

request_idstring required

Unique identifier for this request, for support and debugging.

Example response

{
  "results": [
    {
      "event_type": "DOCUMENT_CHANGE",
      "datasource": "GITHUB",
      "reason": "REVIEW_REQUESTED",
      "doc_type": "pull"
    }
  ]
}

Changes