Skip to main content
POST
Toggle Alarm

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

id
string
required
Alarm configuration ID.

Body Parameters

enabled
boolean
required
  • true: Alarm is active. The system will evaluate this metric on scheduled runs and can generate alarm/recovery events and notifications.
  • false: Alarm is paused. The config is retained, but scheduled evaluation and notifications for this alarm are disabled until re-enabled.

Response

data.alarm
object
Updated alarm configuration object.
data.alarm.enabled
boolean
Updated enabled state.
data.alarm.id
string
Alarm configuration ID.
data.alarm.metric_type
string
Metric this alarm tracks.
data.alarm.threshold
number
Configured threshold for this alarm.
data.alarm.webhook_config
object|null
Webhook settings object. Header values may be masked in responses.
data.alarm.email_addresses
string[]
Email recipients for notifications. Can be an empty array.
data.alarm.sms_numbers
string[]
SMS recipients for notifications. Can be an empty array.
data.alarm.created_at
string
ISO timestamp when the alarm was created.
data.alarm.updated_at
string
ISO timestamp when the alarm was last updated.
errors
null|array
null on success, otherwise an array of error objects.

Docs for agents: llms.txt