Triggers

List triggers

List the agent triggers (scheduled runs and webhooks) configured across the workspace identified by {wId}. Requires a workspace admin API key.

get/api/v1/w/{wId}/triggers

Path parameters

wIdstring required

ID of the workspace

Query parameters

kind'schedule' | 'webhook'

Filter by trigger kind

limitinteger

Maximum number of triggers to return (default 50, max 100)

offsetinteger

Number of triggers to skip, for pagination

Response

The workspace's triggers

Example response

{
  "triggers": [
    {
      "id": 12345,
      "sId": "0ec9852c2f",
      "name": "Daily summary",
      "agentConfigurationId": "8f3a1c2d9e",
      "createdAt": 1625097600,
      "webhookSource": {
        "provider": "github"
      }
    }
  ]
}

Changes

Changed in 1 of the 106 revisions of this API.1