> ## Documentation Index
> Fetch the complete documentation index at: https://docs.molesignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 创建升级策略

> 多级升级，含轮值排班。

```http theme={null}
POST /api/v1/alerts/escalations
```

多步策略的每一步包含带类型的 targets 与 `ack_timeout_secs`。目标可引用用户、团队或值班排班，并附带通知
渠道 id。

```json theme={null}
{
  "name": "Primary operations",
  "steps": [
    {
      "targets": [
        {
          "kind": "schedule",
          "schedule_id": "<schedule-id>",
          "channel_ids": ["<channel-id>"]
        }
      ],
      "ack_timeout_secs": 300,
      "min_severity": "warning"
    }
  ],
  "repeat": true,
  "max_loops": 2
}
```

创建需要 `alerts.manage`。
