Skip to main content
GET
Get Postmortem
string
required
PostMortem name (pm-<issue name>, e.g., pm-checkout-service-oom-kill-1773871200)
string
default:"default"
Kubernetes namespace. Unlike the incident endpoints, this one does not search all namespaces: without namespace it looks only in default.
Minimum role: viewer. spec and status carry the same flattened object. Besides the fields shown, an item can carry reviewedAt, requiresHumanAction and requiredAction (set when the incident was contained and a human must restore the workload), and chaosInduced/chaosExperiment (when the Issue was correlated with a ChaosExperiment). Empty fields are omitted. The REST projection does not include every PostMortem status field. Metric snapshots, blast radius, git correlation, SLI impact, trending, GitOps context, log analysis summary and cascade chain are only on the resource: kubectl get postmortem <name> -n <namespace> -o yaml.

Authorizations

X-API-Key
string
header
required

API key sent in the X-API-Key header. Keys are read from the Secret chatcli-operator-secrets, key api-keys (fallback: ConfigMap chatcli-operator-config, key api-keys) in the operator namespace, as a YAML list of {key, role, name, description} (name is the identity recorded on approval decisions); the operator chart creates it only with apiKeys.create: true. Roles: viewer < operator < admin — any other role string is denied everywhere. Changes are picked up within about 30 seconds; deleting both the Secret and the ConfigMap revokes every key. With no keys configured every /api/ call returns 401, unless CHATCLI_OPERATOR_DEV_MODE=true, which grants admin without a key (development only).

Path Parameters

name
string
required

PostMortem name.

Example:

"pm-payment-service-oom-1710860400"

Query Parameters

namespace
string
default:default

Namespace of the object. Defaults to default — pass it for objects in any other namespace.

Response

Postmortem details

apiVersion
string
Example:

"v1"

kind
string
Example:

"PostMortem"

spec
object
status
object
resourceMeta
object