list_triggers
Lists an agent triggers in full:slug, name, body, accepted methods, enabled, fireCount, lastFiredAt, and url, the public webhook address to paste into the other service.
string
required
upsert_trigger
Creates a trigger, or updates it whenslug is given.
string
required
string
Omit to create. Pass an existing slug to update.
string
Required when creating. The slug, and therefore the public URL, is derived from it.
string
Required when creating. The instruction sent to the agent when the URL is called.
string[]
Accepted HTTP methods among
GET, POST, PUT, PATCH, DELETE. Defaults to ["POST"].string
boolean
body automatically inside a <trigger_payload> block. Write the instruction as “a Stripe refund event arrives, do X with it”, not as if the payload had to be fetched.
The response carries the full url, which is a secret: anyone holding it can fire the agent.
Adding
GET to methods means any link preview or prefetch of that URL could fire the agent. Rerun filters known previewers, but POST alone is the safer default.test_trigger
Fires a trigger yourself with a sample payload, to check the instruction before handing the URL to another service.string
required
string
required
string | object
The payload. An object is sent as JSON. Defaults to empty. Maximum 1 MB, the same cap the public URL enforces.
string
One of
GET, POST, PUT, PATCH, DELETE. Defaults to the first method the trigger accepts.string
Query string to simulate, without the leading
?.string
Defaults to
application/json when the body is JSON.runId and sessionId. Read the outcome with get_run.
rotate_trigger_token
Issues a new secret for a trigger and returns its new URL.string
required
string
required
delete_trigger
Deletes a trigger. Its URL stops working at once and any service calling it starts failing.string
required
string
required
boolean
required
Must be
true.