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.
| Property | Type | Description |
|---|---|---|
| id | String | Id of the Log |
| type | String | Type of Log: change_state, comment, severity_change or assigned_to_change |
| context | Object | Details of the Log. Its keys depend on type, see below |
| createdAt | String | Date 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:
| type | Keys | Description |
|---|---|---|
change_state | state, actor | state is the new state as a number: 0 triggered, 1 acknowledged, 2 resolved |
comment | message, username, and the author's userId, firstName, lastName and avatarUrl | A Comment. Comments written by the platform carry only message and username |
severity_change | from, to, actor | Old and new severity as numbers, 0 (p0) to 4 (p4) |
assigned_to_change | from, to, actor | Old 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.

