Skip to main content
POST
Create a trigger for a watch event in the current chat

Body

application/json
id
string
required

Watch id

account
string

Outbound account id

agent
string

Agent id (default: current/default agent)

cooldown
string

Cooldown between fires (default: 5s)

event
string

Specific event type for multi-event watches

execute
boolean

Actually create the trigger; default is a dry-run that only shows the plan (exit 3)

message
string

Prompt to run when the watch fires

session
string

main or isolated (default: isolated)

Response

Success — body conforms to the @Returns schema.

status
string
required
trigger
object
required
watch
object
required
{key}
any