---
title: "Update an alert (partial)"
method: PATCH
path: "/observability/v1/alerts/{id}/"
tags: ["observability"]
---

# Update an alert (partial)

`PATCH /observability/v1/alerts/{id}/`

## Request

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

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.

## Path parameters

- `id` integer, required

## Request body

- PatchedAlertUpdate
  - `name` string: Alert name
  - `enabled` boolean: Enable/disable alert
  - `source` unknown
  - `threshold` unknown
  - `notifications` unknown
  - `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 `200`

- AlertUpdate
  - `name` string, required: Alert name
  - `enabled` boolean: Enable/disable alert
  - `source` unknown
  - `threshold` unknown
  - `notifications` unknown
  - `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

- **2026-11-03** `a6fb6a739212`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cekura/apis/cekura-api/changes/observability/v1/alerts/:id/patch.md)

---

[API](https://skmtc.dev/cekura/apis/cekura-api.md) - [All operations](https://skmtc.dev/cekura/apis/cekura-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cekura/apis/cekura-api/revisions/a6fb6a739212?raw)
