get_schedules
Retrieve PagerDuty schedules filtered by name or get detailed information for a specific schedule ID, including time ranges and overrides.
Instructions
Get PagerDuty schedules by filters or get details for a specific schedule ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule_id | No | The schedule ID to retrieve details for (optional, cannot be used with query or limit). | |
| query | No | Filter schedules whose names contain the search query (optional). Not used if `schedule_id` is provided. | |
| limit | No | Limit the number of results returned (optional). Not used if `schedule_id` is provided. | |
| since | No | Start time for overrides/final schedule details (ISO8601, optional). Only used if `schedule_id` is provided. Defaults to 2 weeks before 'until' if 'until' is given. | |
| until | No | End time for overrides/final schedule details (ISO8601, optional). Only used if `schedule_id` is provided. Defaults to 2 weeks after 'since' if 'since' is given. | |
| include | No | List of fields to include in the response. If specified, only these fields will be returned for each schedule |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||