v1
latestOpenAPI 3.0.22026-07-144652931.4 MBGet aggregated service data
Provides aggregated metrics for incidents aggregated into units of time by service.
Example metrics include Seconds to Resolve, Seconds to Engage, Snoozed Seconds, and Sleep Hour Interruptions. Metric definitions can be found in our Knowledge Base. Data can be aggregated by day, week or month in addition to by service, or provided just as a collection of aggregates for each service in the dataset for the entire period. If a unit is provided, each row in the returned dataset will include a 'range_start' timestamp.
<!-- theme: info -->Note: Data availability reflects pipeline processing cycles and is generally within 24 hours under normal conditions.
Scoped OAuth requires: analytics.write
Headers
The Accept header is used as a versioning header.
Request body
Example request
{
"filters": {
"created_at_start": "2024-01-01T00:00:00+05:00",
"created_at_end": "2024-02-01T00:00:00Z",
"urgency": "high",
"major": true,
"min_ackowledgements": 1,
"min_timeout_escalations": 1,
"min_manual_escalations": 1,
"team_ids": [
"P373JQQ",
"PAECHJV",
"P7SYGW6"
],
"service_ids": [
"PSEJLIN",
"PSLWBL8",
"PT4KHLX"
],
"escalation_policy_ids": [
"PDJXDF3",
"PG4EHNS"
],
"priority_ids": [
"PC8O0L3",
"PX01HJD",
"P5FK83M"
],
"priority_names": [
"P1",
"P2",
"P3"
],
"pd_advance_used": true
},
"time_zone": "Etc/UTC",
"order_by": "created_at",
"aggregate_unit": "day"
}Response
Only returns data for services that match the filters and have data.
Example response
{
"filters": {
"created_at_start": "2024-01-01T00:00:00+05:00",
"created_at_end": "2024-02-01T00:00:00Z",
"urgency": "high",
"major": true,
"min_ackowledgements": 1,
"min_timeout_escalations": 1,
"min_manual_escalations": 1,
"team_ids": [
"P373JQQ",
"PAECHJV",
"P7SYGW6"
],
"service_ids": [
"PSEJLIN",
"PSLWBL8",
"PT4KHLX"
],
"escalation_policy_ids": [
"PDJXDF3",
"PG4EHNS"
],
"priority_ids": [
"PC8O0L3",
"PX01HJD",
"P5FK83M"
],
"priority_names": [
"P1",
"P2",
"P3"
],
"pd_advance_used": true
},
"time_zone": "Etc/UTC",
"order_by": "created_at",
"aggregate_unit": "day"
}