Overview
Retrieves complete details for a specific on-call schedule by its ID, including schedule layers, rotation information, and associated users and teams.This is a read-only tool that does not modify any data in your PagerDuty account.
Parameters
The ID of the schedule to retrieve. This is the unique identifier for the schedule in PagerDuty.
Response
Returns a detailed schedule object with the following fields:The unique identifier for the schedule
The name of the schedule
A short description of the schedule
The full description of the schedule
The time zone of the schedule (IANA format, e.g., “America/New_York”)
The URL to view the schedule in PagerDuty
When the schedule was created
When the schedule was last updated
List of users associated with this schedule. Each user includes:
id- User IDsummary- User namehtml_url- Link to user profile
List of teams associated with this schedule. Each team includes:
id- Team IDsummary- Team namehtml_url- Link to team page
The schedule layers that define the rotation. Each layer includes:
id- Layer IDname- Layer namestart- When the layer startsend- When the layer ends (null if ongoing)rotation_virtual_start- The effective start timerotation_turn_length_seconds- Duration of each shiftusers- Ordered list of users in the rotationrestrictions- Time restrictions for the layer
Example Usage
Get schedule by ID
View schedule configuration
Check schedule rotation
Understanding Schedule Layers
Schedules in PagerDuty are built using layers, which define:- Rotation order - The sequence of users who take on-call shifts
- Shift duration - How long each user is on-call (e.g., 1 week, 24 hours)
- Time restrictions - Limits on when the layer is active (e.g., business hours only)
- Start and end dates - When the layer begins and ends
Common Use Cases
- Review configuration - Examine how a schedule is set up
- Verify rotation - Check the order and timing of on-call shifts
- Troubleshooting - Debug schedule issues by reviewing layer details
- Documentation - Generate reports on schedule configurations
- Planning changes - Review current settings before making updates
Related Tools
list_schedules
List all schedules
list_oncalls
See who is currently on-call
update_schedule
Modify the schedule (write mode)
create_override
Create a schedule override (write mode)