Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

agentId
string<uuid>
required

Unique identifier of the agent

triggerId
string<uuid>
required

Unique identifier of the trigger

Body

application/json
name
string
Required string length: 1 - 200
description
string
Maximum string length: 1000
allowedChannelIds
string[]

Slack triggers only: replaces the channels it answers in

Required array length: 1 - 100 elements
Minimum string length: 1
schedule
string

Cron triggers only: a cron expression

Required string length: 1 - 100
enabled
boolean
eventMode
enum<string>

Whether an inbound event runs the configured agent directly or creates a Cotool alert before routing to the agent.

Available options:
direct,
alert_source

Response

Successful response

success
boolean
required
data
object
required