Query
query IncidentMetrics {
incidentMetrics {
currentPeriodTotal
inReview
openActions
overdue
previousPeriodTotal
}
}Response
{
"data": {
"incidentMetrics": {
"currentPeriodTotal": 1,
"inReview": 1,
"openActions": 1,
"overdue": 1,
"previousPeriodTotal": 1
}
}
}Queries
incidentMetrics
Counts over the organization’s incidents and their linked actions.
QUERY
incidentMetrics: IncidentMetrics!Returns
currentPeriodTotal
Int!
Number of incidents that happened in the last 30 days.
inReview
Int!
Number of incidents whose status is 'IN_REVIEW'.
openActions
Int!
Number of linked actions, review tasks included, that are not completed.
overdue
Int!
Number of the openActions whose due date has passed.
previousPeriodTotal
Int!
Number of incidents that happened between 60 and 30 days ago.
Query
query IncidentMetrics {
incidentMetrics {
currentPeriodTotal
inReview
openActions
overdue
previousPeriodTotal
}
}Response
{
"data": {
"incidentMetrics": {
"currentPeriodTotal": 1,
"inReview": 1,
"openActions": 1,
"overdue": 1,
"previousPeriodTotal": 1
}
}
}