A post-mortem closes the loop on an incident by capturing what happened, why it happened, and what will prevent it from recurring. Scrubbe automates the most time-consuming parts: it reads the incident data you have already recorded and generates a structured five-whys analysis, an engineer-facing deep dive, and a plain-language stakeholder summary — all via API. This guide walks you through generating each report and exporting the final document as a PDF.Documentation Index
Fetch the complete documentation index at: https://docs.scrubbe.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- The incident must be in
RESOLVEDorCLOSEDstatus (see Manage Incidents) - A valid API key with incident read permissions and post-mortem access
List existing post-mortems
Before generating new reports, check whether a post-mortem already exists for the incident.Generate an AI five-whys analysis
The five-whys endpoint reads the incident timeline, comments, and technical description, then walks back through the causal chain to surface the root cause.Get an AI resolution suggestion
Use the suggestion endpoint to receive a set of recommended corrective actions based on the incident’s root cause and historical patterns in your workspace.Generate a stakeholder summary
The stakeholder endpoint produces a non-technical narrative of the incident — suitable for executives, customer success teams, or status page updates. It covers impact, duration, root cause (in plain language), and next steps.The stakeholder summary deliberately omits internal technical detail. For a full engineering report, use the Ezra AI guide to generate an audience-targeted report via
POST /api/v1/ezra/report.Export the post-mortem as a PDF
Once your analysis is complete, generate a PDF for distribution, archiving, or compliance purposes.Recommended workflow
Resolve the incident
Set the incident status to
RESOLVED via POST /api/v1/incident-ticket/resolve/:id. Ensure all comments and findings are recorded on the ticket.Run the five-whys
Call
GET /api/v1/incident-ticket/resolve/ai/five-whys/:id and review the root cause chain with the incident responders.Collect action items
Call
GET /api/v1/incident-ticket/resolve/ai/suggestion/:id and assign follow-up work to owners.Draft the stakeholder summary
Call
GET /api/v1/incident-ticket/resolve/ai/stakeholder/:id, review the output, and adjust tone or detail as needed.