PagerDuty Schedules API

A Schedule determines the time periods that users are On-Call.

GitHub OpenAPI
Business capability
Incident Response Management BC-4220.30

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /schedules List on-call schedules · PagerDuty List schedules #
Ask an LLM
“Which on-call schedules exist in my account?”
“Can I search schedules by name?”
Tell an agent
List all on-call schedules.
Find schedules matching {query}.
POST /schedules Create an on-call schedule · PagerDuty Create a schedule #
Ask an LLM
“How do I set up a new on-call rotation?”
“Can I create a schedule that starts and ends on specific dates?”
Tell an agent
Create a schedule {schedule}.
Set up a new on-call rotation with {schedule}.
GET /schedules/{id} Get an on-call schedule · PagerDuty Get a schedule #
Ask an LLM
“Who is on call in a schedule over a given period?”
“Can I see a schedule's layers for a date range?”
Tell an agent
Show schedule {id}.
Get the on-call entries in schedule {id} from {since} to {until}.
DELETE /schedules/{id} Delete an on-call schedule · PagerDuty Delete a schedule #
Ask an LLM
“How do I remove an old on-call schedule?”
“Can I delete a schedule I no longer use?”
Tell an agent destructive · confirm first
Delete schedule {id}.
Remove the on-call rotation {id}.
PUT /schedules/{id} Update an on-call schedule · PagerDuty Update a schedule #
Ask an LLM
“How do I change the rotation on an existing schedule?”
“Can I edit a schedule that is already in use?”
Tell an agent
Update schedule {id} with {schedule}.
Replace the rotation on schedule {id}.
GET /schedules/{id}/audit/records List a schedule's audit records · PagerDuty List audit records for a schedule #
Ask an LLM
“Who changed an on-call schedule and when?”
“Can I audit the edit history of a schedule?”
Tell an agent
List audit records for schedule {id}.
Show changes made to schedule {id} since {since}.
GET /schedules/{id}/overrides List overrides on a schedule · PagerDuty List overrides #
Ask an LLM
“Which overrides are in place on a schedule for a time range?”
“Can I see overrides that are editable?”
Tell an agent
List overrides on schedule {id} from {since} to {until}.
Show editable overrides for schedule {id} in {since}-{until}.
POST /schedules/{id}/overrides Create overrides on a schedule · PagerDuty Create one or more overrides #
Ask an LLM
“How do I put a specific person on call for a shift?”
“Can I add an override on top of an existing schedule?”
Tell an agent
Create overrides {overrides} on schedule {id}.
Add an override to schedule {id}.
DELETE /schedules/{id}/overrides/{override_id} Delete an override · PagerDuty Delete an override #
Ask an LLM
“How do I remove an override from a schedule?”
“Can I delete an override that has already started?”
Tell an agent destructive · confirm first
Delete override {override_id} from schedule {id}.
Remove the override {override_id} on schedule {id}.
GET /schedules/{id}/users List who is on call in a schedule · PagerDuty List users on call #
Ask an LLM
“Who is on call right now in a schedule?”
“Can I see the on-call users for a schedule over a time range?”
Tell an agent
List who is on call in schedule {id}.
Show on-call users for schedule {id} from {since} to {until}.
POST /schedules/preview Preview a schedule without saving · PagerDuty Preview a schedule #
Ask an LLM
“What would a new schedule look like before I save it?”
“Can I preview a schedule for a date range?”
Tell an agent
Preview schedule {schedule} from {since} to {until}.
Show what schedule {schedule} would look like.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pagerduty:pagerduty-schedules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pagerduty-schedules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'This document describes the PagerDuty REST APIs.


    For guides and examples please visit our Documentation.


    Our REST APIs are defined in OpenAPI v3.x. You can view the schema at github.com/PagerDuty/api-schema.


    Note that properties in some schemas have fields not shown by default such as `readOnly`, `format`, and `default`. Hover your cursor over the right column that looks like `optional+1` to see the full list of fields.'
  contact:
    name: PagerDuty Support
    url: http://www.pagerduty.com/support
    email: support@pagerduty.com
  title: PagerDuty Schedules API
  version: 2.0.0
servers:
- url: https://api.pagerduty.com
  description: PagerDuty V2 API.
security:
- api_key: []
tags:


# --- truncated at 32 KB (76 KB total) ---
# Full source: https://artifacts.apis.io/pagerduty/openapi/pagerduty-schedules-api-openapi.yml