Skip to main content
POST
Create an agentic-AI event trigger

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

project_id
string
required

Body

application/json
name
string
required
match
object
required

Stored verbatim as JSON; shape is not validated at write time. Interpreted at fire time as {dataset, conditions?}. An empty or absent conditions array matches every event in the dataset.

config
object
required

Stored verbatim as JSON; normalized and bounded at run time by parseAgentConfig.

action_type
string
default:ai_agent

Response

Created. Always enabled.

id
string
required