changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "check": {
+ "description": "Underlying check, when requested with with=check.",
+ "type": "object"
+ },
+ "checkName": {
+ "description": "Name of that check.",
+ "type": "string"
+ },
+ "checkSlug": {
+ "description": "Slug of that check.",
+ "type": "string"
+ },
+ "checkUid": {
+ "description": "UID of the check the incident is about.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Custom description, when one was set.",
+ "type": "string"
+ },
+ "events": {
+ "description": "Timeline events (status transitions, notifications, manual notes), newest first; present when with=events was passed.",
+ "items": {
+ "properties": {
+ "actorName": {
+ "description": "Display name of the acting user, when known.",
+ "type": "string"
+ },
+ "actorType": {
+ "description": "Who acted: system or user.",
+ "type": "string"
+ },
+ "createdAt": {
+ "description": "RFC3339 timestamp of the event.",
+ "type": "string"
+ },
+ "eventType": {
+ "description": "Event type, e.g. \"incident.created\".",
+ "type": "string"
+ },
+ "uid": {
+ "description": "Event UID.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "failureCount": {
+ "description": "Number of failures recorded for the incident.",
+ "type": "integer"
+ },
+ "kind": {
+ "description": "What the incident is about: check, slo_burn or degraded.",
+ "type": "string"
+ },
+ "notifications": {
+ "description": "Notification attempts, newest first; present when include=notifications was passed.",
+ "items": {
+ "properties": {
+ "channelType": {
+ "description": "Delivery channel, e.g. email or slack.",
+ "type": "string"
+ },
+ "connection": {
+ "description": "Targeted integration {uid, name, type}, or null when the target was a user.",
+ "properties": {
+ "name": {
+ "description": "Integration name.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Integration type, e.g. email or webhook.",
+ "type": "string"
+ },
+ "uid": {
+ "description": "Integration UID.",
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "createdAt": {
+ "description": "RFC3339 timestamp when the attempt was recorded.",
+ "type": "string"
+ },
+ "error": {
+ "description": "Delivery error; absent when there was none.",
+ "type": "string"
+ },
+ "eventType": {
+ "description": "Incident event that triggered the attempt.",
+ "type": "string"
+ },
+ "incident": {
+ "description": "Incident context {uid, title, state, startedAt}; absent unless the query filled it.",
+ "properties": {
+ "startedAt": {
+ "description": "RFC3339 incident start.",
+ "type": "string"
+ },
+ "state": {
+ "description": "Incident state: active or resolved.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Incident title.",
+ "type": "string"
+ },
+ "uid": {
+ "description": "Incident UID.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "incidentUid": {
+ "description": "Incident the attempt belongs to.",
+ "type": "string"
+ },
+ "messageId": {
+ "description": "Provider message ID; absent when the channel did not return one.",
+ "type": "string"
+ },
+ "repeatIndex": {
+ "description": "Escalation repeat round; absent for direct sends.",
+ "type": "integer"
+ },
+ "sentAt": {
+ "description": "RFC3339 timestamp when it was delivered; absent until sent.",
+ "type": "string"
+ },
+ "skipReason": {
+ "description": "Why the attempt was skipped; absent when it was not skipped.",
+ "type": "string"
+ },
+ "source": {
+ "description": "What triggered it, e.g. check_connection, escalation_user or escalation_schedule.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Delivery status: pending, sent, failed, cancelled or skipped.",
+ "type": "string"
+ },
+ "stepUid": {
+ "description": "Escalation step that produced the attempt; absent for direct sends.",
+ "type": "string"
+ },
+ "uid": {
+ "description": "Notification row UID.",
+ "type": "string"
+ },
+ "user": {
+ "description": "Targeted user {uid, name}, or null when the target was a connection.",
+ "properties": {
+ "name": {
+ "description": "User display name.",
+ "type": "string"
+ },
+ "uid": {
+ "description": "User UID.",
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "number": {
+ "description": "Short per-org reference, e.g. 42.",
+ "type": "integer"
+ },
+ "relapseCount": {
+ "description": "Number of times the incident reopened.",
+ "type": "integer"
+ },
+ "resolvedAt": {
+ "description": "RFC3339 timestamp when it resolved; absent while active.",
+ "type": "string"
+ },
+ "startedAt": {
+ "description": "RFC3339 timestamp when the incident opened.",
+ "type": "string"
+ },
+ "state": {
+ "description": "active or resolved.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Custom title, when one was set.",
+ "type": "string"
+ },
+ "uid": {
+ "description": "Incident UID.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "uid"
+ ],
+ "type": "object"
+}