Skip to main content
POST
Add a trigger to the running fleet

Authorizations

Authorization
string
header
required

Runner token beginning with agt_r, returned once by POST /v1/admin/runners

Path Parameters

run_id
string
required

Run identifier (version 7 universally unique identifier, or UUID).

Body

application/json

POST /v1/runners/me/runs/{run_id}/triggers request.

call_number
integer<int64>
required

The call's number within its run, from 1, as its record names it.

Required range: x >= 0
fencing_token
integer<int64>
required

The run's fencing token; a holder the fleet has superseded is refused.

Required range: x >= 0
item_id
string
required

The item this call is: a UUIDv7 the runner mints once per call. A retry sends it again and gets the first result.

kind
enum<string>
required

What wakes the fleet.

Available options:
webhook,
app_event,
mention
channel
string | null

A mention's channel identifier.

events
string[] | null

The event names that wake the fleet; absent wakes it on every event.

repositories
string[] | null

The repositories whose App events wake the fleet, as owner/name.

secret_name
string | null

The workspace vault key holding a webhook's signing secret.

source
string | null

A webhook's source slug, the last segment of its URL; github for an App event and slack for a mention when absent.

verifier
object | null

A webhook's signing recipe, for a source outside the built-in registry.

Response

The trigger

One trigger: a webhook source, the GitHub App subscription, or one Slack channel. The fleet adds it by tool; a person lists and removes it.

created_at
string<date-time>
required

When the fleet added it, such as 2026-10-24T05:00:00.000Z.

id
string
required

The trigger's identity: what a remove names.

kind
enum<string>
required

What wakes the fleet.

Available options:
webhook,
app_event,
mention
source
string
required

A webhook's source slug, github for an App event, slack for a mention.

channel
string | null

A mention's channel identifier, or null.

events
string[] | null

The event names that wake the fleet, or null for every event.

repositories
string[] | null

The repositories whose App events wake the fleet, or null.

url
string | null

A webhook's delivery address, /v1/webhooks/{fleet_id}/{source} on this deployment, or null for another kind.