get_incident_metrics_all
Retrieve full-period aggregated incident metrics from PagerDuty Analytics, including unique percentile distributions (P50, P75, P90, P95) for acknowledgment and resolution times. Filter by time range, teams, services, and urgency.
Instructions
Get full-period aggregated incident metrics from PagerDuty Analytics.
Returns rollup metrics for the entire requested period including percentile
distributions (P50, P75, P90, P95) for ack and resolve times. These percentile
fields are ONLY available from this endpoint — not from the per-team or per-service
grouped endpoints.
Args:
created_at_start: ISO8601 DateTime. Incidents created before this are omitted.
created_at_end: ISO8601 DateTime. Incidents created on/after this are omitted.
team_ids: Only incidents related to these teams will be included.
service_ids: Only incidents related to these services will be included.
urgency: Filter by urgency: 'high' or 'low'.
time_zone: The time zone for results (e.g. 'America/New_York').
order: Sort order: 'asc' or 'desc'.
order_by: Field to sort results by.
Returns:
JSON string of AnalyticsAggregatedMetrics object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | ||
| urgency | No | ||
| order_by | No | ||
| team_ids | No | ||
| time_zone | No | ||
| service_ids | No | ||
| created_at_end | Yes | ||
| created_at_start | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |