Incident Log Object

Describes the JSON object of an Incident Log.

An Incident Log is an entry in the history of an Incident. The platform writes the Logs; they can't be created, updated or deleted through the API. They can be obtained in Get Incident Logs and exported with Export Incident Logs.

PropertyTypeDescription
idStringId of the Log
typeStringType of Log: change_state, comment, severity_change or assigned_to_change
contextObjectDetails of the Log. Its keys depend on type, see below
createdAtStringDate the Log was created
{
    "id": "689e3a01246a939d3a0c2f21",
    "type": "change_state",
    "context": {
        "state": 2,
        "actor": {
            "type": "user",
            "userId": "5d966dbbe694aa3a85c0cef7",
            "username": "jane.doe",
            "firstName": "Jane",
            "lastName": "Doe",
            "avatarUrl": null
        }
    },
    "createdAt": "2026-11-20T15:02:37.904000Z"
}

Context by type

context is returned as stored, so its keys depend on type:

typeKeysDescription
change_statestate, actorstate is the new state as a number: 0 triggered, 1 acknowledged, 2 resolved
commentmessage, username, and the author's userId, firstName, lastName and avatarUrlA Comment. Comments written by the platform carry only message and username
severity_changefrom, to, actorOld and new severity as numbers, 0 (p0) to 4 (p4)
assigned_to_changefrom, to, actorOld and new assignment

actor is who made the change: {"type": "user", ...} with the user's userId, username, firstName, lastName and avatarUrl, or {"type": "system"} when the platform made it (e.g. a comment that acknowledged the Incident). Older Logs may not have actor.