Skip to main content

AlertUnarchived

Emitted when a user reverts a manual alert resolution. The alert becomes active again with the same device assignments it had when it was resolved; no new AlertDeviceAssigned events are emitted.

Payload​

FieldTypeRequiredDescription
alertRuleUidstring | null✅Identifier of the alert rule the alert was created from. null only on historical events emitted before this field existed.
ownerobject✅Ownership envelope identifying the company or organization that owns this event.
owner.ownershipType"organization" (literal)✅Discriminator for the ownership envelope; always organization for these events.
owner.organizationUidstring✅UID of the organization that owns the event.
owner.parentCompanyUidstring✅UID of the owning organization's parent company.
alertUidstring✅Unique identifier for each alert across system
type"Alert.AlertUnarchived" (literal)✅Fully-qualified event type discriminator (e.g. Device.DeviceConnectionAdded).
originatorobject—Actor that initiated the action behind this event. Omitted for system-triggered events.
originator.accountIdnumber—Numeric identifier of the account that initiated the action.
originator.organizationUidstring—Organization on whose behalf the action was initiated.
originator.policyUidstring—Policy under which the action was initiated, if applicable.

Example​

{
"id": "string",
"kind": "domain",
"type": "Alert.AlertUnarchived",
"payload": {
"alertRuleUid": "57a143c7xxxxxxxxxxxxxxxxcdef318a",
"owner": {
"ownershipType": "organization",
"organizationUid": "b9718729xxxxxxxxxxxxxxxx5bbbf86b",
"parentCompanyUid": "a0fbdea9xxxxxxxxxxxxxxxxde5ec5ba"
},
"alertUid": "fc70b845xxxxxxxxxxxxxxxx47b354dd",
"type": "Alert.AlertUnarchived",
"originator": {
"accountId": 6825,
"organizationUid": "e6c76d53xxxxxxxxxxxxxxxx1bb52c48",
"policyUid": "9427ac93xxxxxxxxxxxxxxxx5c1f22c7"
}
}
}

Shape​

{
"id": "string",
"kind": "domain",
"type": "Alert.AlertUnarchived",
"payload": {
"alertRuleUid": "string | null",
"owner": {
"ownershipType": "organization",
"organizationUid": "string",
"parentCompanyUid": "string"
},
"alertUid": "string",
"type": "Alert.AlertUnarchived",
"originator?": {
"accountId?": "number",
"organizationUid?": "string",
"policyUid?": "string"
}
}
}