Skip to main content

Event object

An Event object represents one point in an alert timeline. It captures the event type, aggregate alert state at that point, and optionally the per-metric changes that were part of the event.

Notes

  • id combines the alert ID and sequence number
  • sequence increases over the lifetime of an alert
  • changes can be omitted from list responses unless explicitly expanded

Attributes

FieldTypeDescription
idstringEvent identifier, typically alertId|sequence
sequenceintegerSequence number within the alert timeline
eventTypestringEvent type, for example created, updated, or closed
eventOccurreddatetimeTimestamp when the event occurred
activebooleanWhether the alert remained active after this event
impactstringAggregate impact at this timeline point
activeNodesintegerNumber of active nodes at this timeline point
activeMetricsintegerNumber of active metrics at this timeline point
scorenumberAggregate score at this timeline point
learningStatusnumberAggregate learning-status value at this timeline point
changesarrayList of change entries attached to the event

Change entry attributes

FieldTypeDescription
typestringChange type, such as updated
nodeIdintegerNode identifier
nodeNamestringNode display name
statTypeIdstringMetric type identifier
statTypeNamestringMetric display name
systemIdintegerSystem identifier
systemNamestringSystem display name
values.score.contributionnumberMetric score contribution
values.score.adjustednumberAdjusted metric score
values.learningStatusnumberLearning-status value for the metric at this event
values.severitystringMetric severity at this event
values.typestringMetric anomaly type at this event, for example deviation or missing_data
values.closestBaselineDeviationnumberDistance from the closest baseline corridor when available

Example

{
"id": "alert-123|00000005",
"sequence": 5,
"eventType": "updated",
"eventOccurred": "2025-11-13T10:25:00Z",
"active": true,
"impact": "high",
"activeNodes": 3,
"activeMetrics": 4,
"score": 2.3,
"learningStatus": 1,
"changes": [
{
"type": "updated",
"nodeId": 10,
"nodeName": "Order Service",
"statTypeId": "3ef542f1-2c80-4c83-ae06-8741857ed78a",
"statTypeName": "CPU Usage",
"systemId": 101,
"systemName": "Prod Cluster",
"values": {
"score": {
"contribution": 0.9,
"adjusted": 1.7
},
"learningStatus": 0,
"severity": "red",
"type": "deviation",
"closestBaselineDeviation": 2.4
}
}
]
}