Create Agent Trigger
Create a trigger that starts a durable run of a task agent. A
schedule trigger fires on a cron expression or an interval; a
webhook trigger returns a one-time secret plus a fire_path your
backend POSTs to. Idempotent via Idempotency-Key.
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
Agent id (prefixed external id, agent_...).
Headers
Request
The cadence of a schedule trigger. Set exactly one of cron or
interval_seconds.
The inbound-fire config of a webhook trigger.
Response headers
Response
The created trigger. For a webhook trigger the plaintext secret
is present in this response only.
Prefixed wire identifier (trigger_<26 char Crockford base32>).
The cadence of a schedule trigger. Set exactly one of cron or
interval_seconds.
The inbound-fire config of a webhook trigger.
The inbound fire URL path for a webhook trigger; prepend the API host. Absent for a schedule trigger.
The plaintext fire token for a webhook trigger. Present in the create response ONLY and never again - store it securely.