Docs

Docs

x-cpod-domain: postmortems

Postmortems

Incident timelines and event sequences for postmortem analysis.

Try in explorer client.postmortems

PostmortemTimeline

A timeline event within an incident postmortem.

REST path/api/v1/postmortems/timeline
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.postmortems.timeline.list()

// create:
await client.postmortems.timeline.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  incident_id: "example incident_id",
  timestamp: "2026-01-01T00:00:00Z",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
incident_id*stringParent incident ID.
timestamp*date-timeISO 8601 timestamp of the event.
type*enumEvent type in the incident timeline.detectioninvestigationmitigationresolutioncommunicationother
title*stringHuman-readable event title.
descriptionstringDetailed description of the event.
actor_idstringUser ID of the person who performed the action.
sourcestringSource system that generated the event (pagerduty, slack, manual).
metadatajsonAdditional structured metadata.
tagsjsonFree-form tags.