Skip to main content
POST
TypeScript SDK

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string<uuid>
required

Body

application/json
name
string
required

Integration event name. Use listIntegrationTriggers to discover supported triggers.

Required string length: 1 - 200
integrationType
string

Provider type for the trigger, such as github or slack.

Required string length: 1 - 100
integrationId
string<uuid>

Connected integration that supplies trigger events.

filters
object

Event-specific trigger filters. Use retrieveIntegrationTrigger and listIntegrationTriggerFilterOptions to discover supported fields and values.

Response

Create an agent trigger

id
string<uuid>
required
triggerName
string
required
enabledAt
string<date-time> | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
agentId
string<uuid>
required
triggerDisplayName
string
required
Required string length: 1 - 200
integrationId
string<uuid> | null
required
integrationType
string | null
required
filters
object
required

Conditions that determine whether the selected integration event starts the agent. Available fields depend on the integration and event type.