PagerDuty Analytics API

Provides enriched incident data.

GitHub OpenAPI
Business capability
SaaS Platform Operations Management BC-4220

Operations 13

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

POST /analytics/metrics/incidents/all Get aggregated incident metrics across the account · PagerDuty Get aggregated incident data #
Ask an LLM
“How long do incidents take to resolve across my whole account?”
“Can I get account-wide incident metrics aggregated by day or week?”
Tell an agent
Get aggregated incident metrics for the whole account.
Show account-wide incident metrics aggregated by {aggregate_unit}.
POST /analytics/metrics/incidents/escalation_policies Get escalation policy incident metrics · PagerDuty Get aggregated escalation policy data #
Ask an LLM
“How long does it take to engage responders under each escalation policy?”
“Which escalation policy has the most snoozed seconds?”
Tell an agent
Get escalation policy incident metrics.
Show escalation policy metrics sorted by {order_by} in {order} order.
POST /analytics/metrics/incidents/escalation_policies/all Get escalation policy metrics across the account · PagerDuty Get aggregated metrics for all escalation policies #
Ask an LLM
“What is the average time to engage across all escalation policies?”
“Can I compare escalation policy performance across the account?”
Tell an agent
Get escalation policy metrics across the account.
Show account-wide escalation policy metrics sorted by {order_by} in {order} order.
POST /analytics/metrics/incidents/services Get service incident metrics · PagerDuty Get aggregated service data #
Ask an LLM
“How long does it take to resolve incidents for each service?”
“Which service has the most sleep hour interruptions?”
Tell an agent
Get service incident metrics.
Show service metrics sorted by {order_by} in {order} order.
POST /analytics/metrics/incidents/services/all Get service metrics across the account · PagerDuty Get aggregated metrics for all services #
Ask an LLM
“What is the average time to resolve incidents across all services?”
“Can I get account-wide service metrics aggregated by month?”
Tell an agent
Get service metrics across the account.
Show account-wide service metrics aggregated by {aggregate_unit}.
POST /analytics/metrics/incidents/teams Get team incident metrics · PagerDuty Get aggregated team data #
Ask an LLM
“How long does it take to engage responders on each team?”
“Which team has the most snoozed seconds?”
Tell an agent
Get team incident metrics.
Show team metrics sorted by {order_by} in {order} order.
POST /analytics/metrics/incidents/teams/all Get team metrics across the account · PagerDuty Get aggregated metrics for all teams #
Ask an LLM
“What is the average time to engage across all teams?”
“Can I compare team performance across the account?”
Tell an agent
Get team metrics across the account.
Show account-wide team metrics sorted by {order_by} in {order} order.
POST /analytics/metrics/responders/all Get responder metrics across the account · PagerDuty Get aggregated metrics for all responders #
Ask an LLM
“How long does it take responders to resolve incidents across the account?”
“What is the average time to engage for all responders?”
Tell an agent
Get responder metrics across the account.
Show account-wide responder metrics sorted by {order_by} in {order} order.
POST /analytics/metrics/responders/teams Get responder metrics by team · PagerDuty Get responder data aggregated by team #
Ask an LLM
“How do responders on each team compare in time to engage?”
“Can I see responder performance broken down by team?”
Tell an agent
Get responder metrics by team.
Show responder metrics for each team sorted by {order_by} in {order} order.
POST /analytics/raw/incidents Get raw incident data for many incidents · PagerDuty Get raw data - multiple incidents #
Ask an LLM
“Can I pull the raw incident data for a large batch of incidents?”
“What metrics are included for each incident in the raw data?”
Tell an agent
Get raw incident data for up to {limit} incidents.
Pull raw incident data matching {filters}.
GET /analytics/raw/incidents/{id} Get raw incident data for one incident · PagerDuty Get raw data - single incident #
Ask an LLM
“Can I see the full raw data for a single incident?”
“What metrics are included for one incident in the analytics raw data?”
Tell an agent
Get raw incident data for incident {id}.
Show the full analytics raw record for incident {id}.
GET /analytics/raw/incidents/{id}/responses Get responder responses for one incident · PagerDuty Get raw responses from a single incident #
Ask an LLM
“How did each responder respond to a single incident?”
“Can I see the response status and time to respond for one incident?”
Tell an agent
Get responder responses for incident {id}.
Show the response status and time to respond for incident {id}.
POST /analytics/raw/responders/{responder_id}/incidents Get raw incident data for one responder · PagerDuty Get raw incidents for a single responder_id #
Ask an LLM
“Can I see the raw incident data for a specific responder?”
“What metrics are included for one responder's incidents?”
Tell an agent
Get raw incident data for responder {responder_id}.
Show the full analytics raw record for responder {responder_id}.

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-analytics-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-analytics-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 Analytics API
  version: 2.0.0
servers:
- url: https://api.pagerduty.com
  description: PagerDuty V2 API.
security:
- api_key: []
tags:


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