Skip to main content
POST
Change a cloud trigger. Requires --execute when it stays or becomes enabled.

Body

application/json
id
string
required

Trigger id

batchWindow
string

Wait this long to batch events (0-3600)

budget
string

Budget per run in US dollars, or none for the agent's

dailyCap
string

Runs per day at most (1-200)

dedupeWindow
string

Drop repeats of an event within

deliverTo
string

Session that gets each result, or none

disable
boolean

Disable it (applies at once)

enable
boolean

Enable it

events
string[]

Only these event types

execute
boolean

Apply a change that leaves the trigger enabled (without it, print the plan and exit 3)

project
string

Console project slug (default: the cwd's project)

prompt
string

What each run does; {{event}} is where the events go

Response

Success — body conforms to the @Returns schema.

success
boolean
required
trigger
object
required