get_incident_metrics_by_team
Retrieve aggregated incident metrics per team, including MTTA, MTTR, escalation counts, volume, and uptime, for performance comparisons and dashboards.
Instructions
Get aggregated incident metrics per team from PagerDuty Analytics.
Returns team-level MTTA, mean MTTR, escalation counts, incident
volume, and uptime percentage. Use for team performance comparisons and dashboards.
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.
aggregate_unit: Time unit to aggregate metrics by: 'day', 'week', or 'month'.
If omitted, returns a single all-period row.
Returns:
JSON string of ListResponseModel containing AnalyticsTeamMetrics objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | ||
| urgency | No | ||
| order_by | No | ||
| team_ids | No | ||
| time_zone | No | ||
| service_ids | No | ||
| aggregate_unit | No | ||
| created_at_end | Yes | ||
| created_at_start | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |