get_schedules
Retrieve PagerDuty schedules by ID or filter results by name, limit, and time range. Manage on-call schedules and details efficiently using structured queries and filters.
Instructions
Get PagerDuty schedules by filters or get details for a specific schedule ID.
Args:
schedule_id (str): The schedule ID to retrieve details for (optional, cannot be used with query or limit).
query (str): Filter schedules whose names contain the search query (optional). Not used if schedule_id
is provided.
limit (int): Limit the number of results returned (optional). Not used if schedule_id
is provided.
since (str): 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 (str): 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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | ||
query | No | ||
schedule_id | No | ||
since | No | ||
until | No |