observability

Update an alert (partial)

Changed on

Update fields on an existing alert. Common uses from chat:

  • Tune sensitivity: pass preset: "conservative" to make a noisy trend alert quieter (or "aggressive" to catch smaller shifts). Explicit threshold.std_multiplier / ewma_alpha / source.window_size override the preset.
  • Change Slack routing: pass a new notifications.slack block.
  • Disable temporarily: pass enabled: false.

Changing sub_type requires the matching source + threshold shape — see alerts_create for the field matrix per sub_type. Partial updates merge JSON, so omitted nested keys keep their existing values.

patch/observability/v1/alerts/{id}/

Request

  • Base URL
    https://api.cekura.ai
  • URL
    https://api.cekura.ai/observability/v1/alerts/{id}/
  • Auth
    • API key in header X-CEKURA-API-KEY
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

idinteger required

A unique integer value identifying this alert.

Request body

namestring

Alert name

enabledboolean

Enable/disable alert

sourceunknown
thresholdunknown
notificationsunknown
preset'conservative' | 'balanced' | 'aggressive'

Optional shorthand for trend alerts: 'conservative' | 'balanced' | 'aggressive'. Expands to std_multiplier / ewma_alpha / window_size. Explicit values in source or threshold override the preset. Ignored unless the alert's sub_type == 'significant_change'. Prefer it over setting those three by hand; 'balanced' is the safe default.

  • conservative - conservative
  • balanced - balanced
  • aggressive - aggressive

Response

namestring required

Alert name

enabledboolean

Enable/disable alert

sourceunknown
thresholdunknown
notificationsunknown
preset'conservative' | 'balanced' | 'aggressive'

Optional shorthand for trend alerts: 'conservative' | 'balanced' | 'aggressive'. Expands to std_multiplier / ewma_alpha / window_size. Explicit values in source or threshold override the preset. Ignored unless the alert's sub_type == 'significant_change'. Prefer it over setting those three by hand; 'balanced' is the safe default.

  • conservative - conservative
  • balanced - balanced
  • aggressive - aggressive

Changes