API-Referenz · Incidents · Timeline
Subscribe to incident events
Subscription
incidentEventsStreams every new timeline event of the organization's incidents as it happens.
incidentEvents(
organizationUUID: ID!
): IncidentSubscriptionEvent!Argumente
Feld
Typ
Rückgabe
Feld
Typ
Beispiel
subscription IncidentEvents($organizationUUID: ID!) {
incidentEvents(organizationUUID: $organizationUUID) {
incidentId
event {
id
type
createdAt
clientInstanceId
}
}
}Beispielantwort
{
"data": {
"incidentEvents": {
"incidentId": 1,
"event": {
"id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
"type": "Example type",
"createdAt": "2026-01-01T12:00:00Z",
"clientInstanceId": "01JB3X7T9QK2M4N6P8R0S2T4V6"
}
}
}
}