Skip to main content
POST
/
api
/
v1
/
postmortems
/
{name}
/
review
Review PostMortem
curl --request POST \
  --url https://api.example.com/api/v1/postmortems/{name}/review \
  --header 'Content-Type: application/json' \
  --data '
{
  "reviewer": "<string>",
  "notes": "<string>"
}
'
{
  "apiVersion": "v1",
  "kind": "PostMortem",
  "metadata": {
    "name": "PM-20260319-001",
    "namespace": "production"
  },
  "status": {
    "state": "InReview",
    "reviewer": "carlos.silva@empresa.com",
    "reviewStartedAt": "2026-03-19T17:00:00Z",
    "notes": "Root cause confirmed. Adding additional action item for rate limiting."
  }
}
name
string
required
Unique postmortem name (e.g., PM-20260319-001)
namespace
string
default:"default"
Kubernetes namespace
reviewer
string
Identifier of the reviewer (e.g., email or username)
notes
string
Review notes or corrections to the AI-generated postmortem

When to Use

PostMortems are auto-generated when an incident is resolved. This endpoint allows the team to:
  1. Mark it as under review — signals to the team that someone is reviewing the AI analysis
  2. Add corrections — override or supplement the AI-generated root cause, timeline, or action items
  3. Track review status — distinguish between unreviewed (auto-generated) and human-validated postmortems
{
  "apiVersion": "v1",
  "kind": "PostMortem",
  "metadata": {
    "name": "PM-20260319-001",
    "namespace": "production"
  },
  "status": {
    "state": "InReview",
    "reviewer": "carlos.silva@empresa.com",
    "reviewStartedAt": "2026-03-19T17:00:00Z",
    "notes": "Root cause confirmed. Adding additional action item for rate limiting."
  }
}