Query
query IncidentGroup($id: IncidentGroupId!) {
incidentGroup(id: $id) {
comments {
author {
__typename
... on ApiKey {
__typename
}
}
body
createdAt
groupId
id
updatedAt
}
commentsCount
firstSeenAt
id
incidents {
elements {
backfillMode
createdAt
deviation
endTime
group {
__typename
}
id
}
index {
severity {
__typename
}
status {
__typename
}
}
pageInfo {
endCursor
filteredCount
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
lastSeenAt
}
}Variables
{
"id": "value"
}Response
{
"data": {
"incidentGroup": {
"comments": [
{
"author": {
"__typename": "ApiKey"
},
"body": "string",
"createdAt": "value",
"groupId": "value",
"id": "value",
"updatedAt": "value"
}
],
"commentsCount": 1,
"firstSeenAt": "value",
"id": "value",
"incidents": {
"elements": [
{
"backfillMode": true,
"createdAt": "value",
"deviation": 1.5,
"endTime": "value",
"group": {
"__typename": "IncidentGroup"
},
"id": "value"
}
],
"index": {
"severity": [
{
"__typename": "IndexKey"
}
],
"status": [
{
"__typename": "IndexKey"
}
]
},
"pageInfo": {
"endCursor": "string",
"filteredCount": 1,
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
},
"lastSeenAt": "value"
}
}
}Queries
incidentGroup
Get an incident group. Requires INCIDENTS_READ permissions.
QUERY
incidentGroup(id: IncidentGroupId!): IncidentGroupArguments
id
IncidentGroupId!
required
Returns
comments
commentsCount
Int!
firstSeenAt
DateTime!
id
IncidentGroupId!
incidents
lastSeenAt
DateTime!
muteUntil
DateTime
owner
pastGroups
priority
segment
severityStats
source
status
validator
Query
query IncidentGroup($id: IncidentGroupId!) {
incidentGroup(id: $id) {
comments {
author {
__typename
... on ApiKey {
__typename
}
}
body
createdAt
groupId
id
updatedAt
}
commentsCount
firstSeenAt
id
incidents {
elements {
backfillMode
createdAt
deviation
endTime
group {
__typename
}
id
}
index {
severity {
__typename
}
status {
__typename
}
}
pageInfo {
endCursor
filteredCount
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
lastSeenAt
}
}Variables
{
"id": "value"
}Response
{
"data": {
"incidentGroup": {
"comments": [
{
"author": {
"__typename": "ApiKey"
},
"body": "string",
"createdAt": "value",
"groupId": "value",
"id": "value",
"updatedAt": "value"
}
],
"commentsCount": 1,
"firstSeenAt": "value",
"id": "value",
"incidents": {
"elements": [
{
"backfillMode": true,
"createdAt": "value",
"deviation": 1.5,
"endTime": "value",
"group": {
"__typename": "IncidentGroup"
},
"id": "value"
}
],
"index": {
"severity": [
{
"__typename": "IndexKey"
}
],
"status": [
{
"__typename": "IndexKey"
}
]
},
"pageInfo": {
"endCursor": "string",
"filteredCount": 1,
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
},
"lastSeenAt": "value"
}
}
}