get_escalation_policies
Retrieve PagerDuty escalation policies by name, user, team, or ID to manage alert routing and on-call schedules.
Instructions
Get PagerDuty escalation policies by filters or get details for a specific policy ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | No | The escalation policy ID to retrieve (optional, cannot be used with any other filters). | |
| current_user_context | No | Use current user's ID/team IDs context (default: True). Not used if `policy_id` is provided. | |
| query | No | Policies whose names contain the search query (optional). Not used if `policy_id` is provided. | |
| user_ids | No | Policies that include these user IDs (optional, excludes current_user_context). Not used if `policy_id` is provided. | |
| team_ids | No | Policies assigned to these team IDs (optional, excludes current_user_context). Not used if `policy_id` is provided. | |
| limit | No | Limit the number of results (optional). Not used if `policy_id` is provided. | |
| include | No | List of fields to include in the response. If specified, only these fields will be returned for each escalation policy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||