An incident in Scrubbe is a structured record of an event that disrupts or degrades your service. Every incident moves through a defined lifecycle — from the moment it is opened to the point it is closed — giving your team a shared, traceable account of what happened, who responded, and how it was resolved. Incidents are the central object in Scrubbe: comments, messages, SLA tracking, AI analysis, and post-mortems all attach to an incident ticket.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.
Generating a ticket ID
Before creating an incident, generate a unique ticket ID. Scrubbe uses this ID to track the incident across all systems, including integrations and the customer knowledge base.ticketId field when creating the ticket.
Creating an incident
Send aPOST request to /api/v1/incident-ticket with the following body:
Key fields
Identity and routing
Identity and routing
| Field | Description |
|---|---|
summary | Short, human-readable title of the incident |
source | How the incident entered the system: MANUAL, API, WEBHOOK, MONITORING, or ALERT |
serviceArea | The service or area of your system affected |
environment | Deployment environment (e.g. production, staging) |
region | Cloud or geographic region (e.g. us-east-1) |
assignedToEmail | Email of the team member responsible for the incident |
Description fields
Description fields
| Field | Description |
|---|---|
description | Human-readable account of what is happening |
techDescription | Technical detail for engineers — root system behavior, error messages, stack traces |
impactSummary | Business-level description of what is affected |
blastRadius | Scope of the impact (e.g., which percentage of users, which features) |
Priority and status
Priority and status
| Field | Description |
|---|---|
priority | Severity of the incident: LOW, MEDIUM, HIGH, or CRITICAL |
status | Current lifecycle stage (see below) |
Incident lifecycle
Every incident progresses through the following statuses. Scrubbe records timestamps at key transitions —acknowledgedAt, resolvedAt, and closedAt — which feed into MTTR calculations and SLA tracking.
OPEN
The incident has been created and is awaiting a responder. Tickets created manually or promoted from an unmatched signal start here. SLA response timers begin as soon as a ticket reaches
OPEN.ACKNOWLEDGED
A team member has accepted the incident. The response SLA timer stops here. Use
PUT /api/v1/incident-ticket/:id to move a ticket to this status.INVESTIGATION
Active investigation is underway. The team is diagnosing root cause. During this phase, engineers typically add comments, link related changes, and use AI analysis tools.
MITIGATED
The immediate impact has been reduced or stopped, but the root cause may not yet be fully addressed. You can communicate mitigation to stakeholders from this state.
RESOLVED
The incident is fully resolved. Call
POST /api/v1/incident-ticket/resolve/:id to transition a ticket to this state. Resolution triggers post-mortem creation and optionally publishes a summary to the customer knowledge base.Incidents raised by Scrubbe’s automation pipeline may also pass through intermediate machine states (
DETECTED, ENRICHED, ACTION_PROPOSED, EXECUTING) before reaching OPEN. These transitions happen automatically and do not require manual action.Priority levels
Priority determines how urgently the incident must be addressed and which SLA policy applies.| Priority | When to use |
|---|---|
LOW | Minimal or no user impact; can be addressed in normal work hours |
MEDIUM | Degraded experience for some users; requires a response within business hours |
HIGH | Significant user impact; requires prompt attention outside normal hours |
CRITICAL | Full service outage or data loss risk; requires immediate response at any hour |
Comments and messages
Two collaboration primitives are available on every ticket:- Comments (
POST /api/v1/incident-ticket/comment) — structured annotations on the ticket record. Use these for status updates, investigation notes, and decisions. Retrieve all comments for a ticket withGET /api/v1/incident-ticket/comment/:ticketId. - Messages (
POST /api/v1/incident-ticket/message/:ticketId) — real-time chat thread attached to the ticket. Use these for live coordination during an active incident. Retrieve the thread withGET /api/v1/incident-ticket/message/:ticketId.
Analytics
GET /api/v1/incident-ticket/analytics returns aggregated metrics for your incidents, including volume by status, priority distribution, and MTTR trends. Use this endpoint to populate dashboards or audit SLA compliance.