Overview
Theget_escalation_policy tool retrieves detailed information about a specific escalation policy, including its escalation rules, targets, timing, and associated services and teams.
This is a read-only tool that does not modify any data in your PagerDuty account.
Parameters
The unique identifier of the escalation policy to retrieve.Example:
"P5DTI0W"Response
Returns a detailed escalation policy object.The unique identifier of the escalation policy
Always returns
"escalation_policy"A short-form description of the escalation policy
The name of the escalation policy
The description of the escalation policy
The ordered list of escalation rules for the policy. Each rule defines when and to whom an incident should escalate.
The number of times the escalation policy will repeat after reaching the end of its escalation. Set to 0 for no looping.
Determines how on-call handoff notifications will be sent. Options:
"if_has_services"- Send notifications only if the policy has services (default)"always"- Always send handoff notifications
The services using this escalation policy
The teams associated with this escalation policy
The API URL at which this escalation policy is accessible
The URL at which this escalation policy is accessible in the PagerDuty web UI
The date/time when this escalation policy was created
The date/time when this escalation policy was last updated
Example Usage
Use Cases
- Review escalation flow - Examine how incidents progress through escalation levels
- Verify escalation timing - Check delay settings between escalation levels
- Audit escalation targets - See which users and schedules are involved in escalations
- Understand policy loops - Determine if and how many times the policy repeats
- Check service associations - View which services use this escalation policy
Response Example
Related Tools
- List Escalation Policies - Retrieve all escalation policies
- List On-Calls - See who is currently on-call
- Get Service - View service details including escalation policy