Ezra is Scrubbe’s embedded AI reasoning engine. When you submit an incident for analysis, Ezra runs a four-stage pipeline — context gathering, hypothesis generation, impact assessment, and remediation planning — producing a structured root cause analysis with confidence scoring. You can then generate audience-specific reports from that analysis, submit outcome feedback so Ezra learns from every incident, and query the recurring failure patterns it has detected across your incident history.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.
All endpoints require
Authorization: Bearer <token>. Analysis runs asynchronously — submit with POST /analyse and poll GET /analysis/:incidentId until status is COMPLETE.https://your-api-domain.com/api/v1/ezra
Analyse an incident
Submit an incident to Ezra for AI analysis. Ezra examines the incident timeline, affected services, correlated signals, and recent changes to produce a root cause analysis, impact assessment, and remediation options.POST https://your-api-domain.com/api/v1/ezra/analyse
ID of the incident to analyse.
Unique identifier for this analysis run.
The incident being analysed.
PROCESSING while the pipeline is running; COMPLETE or FAILED when done.Approximate seconds before the analysis is ready to retrieve.
List all analyses
Returns all completed and in-progress analyses for the workspace, ordered by creation date descending. Use this to audit Ezra activity or populate a history view.GET https://your-api-domain.com/api/v1/ezra/analyses
Page number.
Items per page (max 100).
Filter by analysis status:
PROCESSING, COMPLETE, or FAILED.cURL
Array of analysis summary objects.
Total matching analysis count.
Get the latest analysis for an incident
Returns the most recently completed analysis for a specific incident, including hypothesis, root cause, impact assessment, remediation options, and confidence score.GET https://your-api-domain.com/api/v1/ezra/analysis/:incidentId
The incident ID.
cURL
Unique analysis identifier.
Analysis lifecycle status.
Ezra’s leading hypothesis from the hypothesis-generation stage.
AI-identified primary cause of the incident.
Structured assessment of user and business impact.
Secondary factors that amplified impact or extended duration.
Ordered list of recommended remediation steps.
Confidence score from
0 to 1. Scores above 0.8 indicate high certainty.ISO 8601 timestamp when the analysis pipeline finished.
Generate a report
Generate a written report from a completed analysis, tailored to the target audience. Engineering reports include technical detail, system context, and step-by-step remediation. Leadership reports focus on business impact, timeline, and recovery status.POST https://your-api-domain.com/api/v1/ezra/report
ID of the completed analysis to generate a report from.
Target audience:
ENGINEER or LEADERSHIP.Unique identifier for the generated report.
The audience the report was generated for:
ENGINEER or LEADERSHIP.The generated report text.
ISO 8601 timestamp of report generation.
Submit outcome feedback
Send outcome feedback to Ezra after an incident is fully resolved. Ezra uses this signal to improve hypothesis accuracy and pattern detection over time. Submit one feedback record per incident.POST https://your-api-domain.com/api/v1/ezra/learn
ID of the resolved incident.
Resolution outcome:
RESOLVED, DEGRADED, NEUTRAL, or WORSENED.| Outcome | When to use |
|---|---|
RESOLVED | Incident fully resolved; Ezra’s suggestions were accurate and helpful. |
DEGRADED | Incident partially resolved; situation improved but not fully recovered. |
NEUTRAL | No clear improvement or worsening from the recommended actions. |
WORSENED | Following Ezra’s suggestions made the situation worse. |
Get detected patterns
Returns recurring failure patterns that Ezra has identified across your incident history. Use this to find systemic weaknesses and prioritise reliability improvements before the next incident.GET https://your-api-domain.com/api/v1/ezra/patterns
cURL
Array of detected failure patterns.
Ezra reasoning pipeline
Ezra processes each analysis through four sequential stages. Understanding the pipeline helps you interpret confidence scores and result structure.| Stage | Name | What Ezra does |
|---|---|---|
| 1 | Context gathering | Collects the incident timeline, correlated signals, deployment history, and service topology. |
| 2 | Hypothesis generation | Proposes candidate root causes ranked by supporting evidence. |
| 3 | Impact assessment | Quantifies user and business impact from service dependency data. |
| 4 | Remediation planning | Produces ordered remediation options weighted by historical outcome data. |