Skip to main content
POST
Update alert rule

Body

application/json

Update an alert rule. Only provided fields are changed.

rule_id
string
required
name
string
description
string
condition
object
notifications
object[]
enabled
boolean

Response

Alert rule updated.

An alert rule — defines a condition that triggers notifications and the channels to deliver them to. Channel types (webhook, slack, email) are built into the platform; each has a specific renderer and notifier.

rule_id
string
required

Unique rule identifier.

tenant_id
string
required
name
string
required

Human-readable name.

Example:

"Approval needed"

condition
object
required

Condition that triggers this alert.

notifications
object[]
required

Where to send when this rule fires. Each entry is a built-in channel type with its config. Svantic ships renderers and notifiers for each supported type.

enabled
boolean
required
description
string
Example:

"Notify when a message needs human input."

created_at
string<date-time>
updated_at
string<date-time>