An escalation policy defines who to notify when an incident occurs, and what happens if no one responds. Policies are made up of an ordered sequence of layers. Each layer targets a specific on-call schedule or a fixed list of team members. If no one acknowledges within the layer’s timeout, Scaling moves to the next layer. Attaching a policy to an incident ensures that alerts don’t go unanswered — even if the first responder is unavailable.Documentation Index
Fetch the complete documentation index at: https://docs.scaling.cloud/llms.txt
Use this file to discover all available pages before exploring further.
How escalation works
When an incident with an escalation policy is triggered:- Layer 1 is notified — for example, the Platform On-call schedule.
- If no one acknowledges within the layer’s
ackTimeoutMinutes, Layer 2 is notified — for example, a Senior Engineers schedule. - This continues down the chain until someone acknowledges or all layers have been notified.
Example policy
| Position | Target | Timeout |
|---|---|---|
| 1 | Platform On-call (schedule) | 5 minutes |
| 2 | Senior Engineers (schedule) | 15 minutes |
| 3 | Engineering Manager (user) | 30 minutes |
Policy fields
| Field | Required | Notes |
|---|---|---|
name | Yes | 1–255 characters. Must be unique within your org. |
description | No | Optional context about when to use this policy. |
Layer fields
Each layer in a policy has the following fields:| Field | Required | Notes |
|---|---|---|
position | Yes | Positive integer. Determines evaluation order. Lower position = notified first. |
ackTimeoutMinutes | Yes | How long to wait (in minutes) before escalating to the next layer. Min 1, max 10,080 (7 days). |
target | Yes | Who to notify. Either an on-call schedule or a list of specific users. |
Layer targets
Each layer has exactly one target — either a schedule or a direct list of users.- Schedule target
- Users target
Notifies whoever is currently on-call in the referenced schedule. Scaling resolves the active on-call participant at the time the layer fires.Use this when you want the layer to always reach the right person based on your rotation — without updating the policy every time the on-call person changes.
Attaching a policy to an incident
You can attach a policy to an incident when you create it by passingescalationPolicyId. The policy must belong to the same organization.
You cannot delete a policy while it is attached to an active (open) incident. Resolve or reassign those incidents first.