All endpoints require
Authorization: Bearer <token>. Tokens are workspace-scoped and can be rotated from Settings → API Keys.https://your-api-domain.com/api/v1/incident-ticket
Generate an incident ID
Fetch a unique, pre-formatted incident ID before creating the ticket. Use this when you need the identifier in an external system ahead of the actual record creation.GET /generate-id
string
required
Unique incident identifier in the format
INC-YYYYMMDD-XXXX.Create an incident
Open a new incident ticket.summary and priority are required; all other fields are optional.
POST /
string
required
Short, human-readable title for the incident (e.g.
"Payment service down").string
required
Severity level. One of
LOW, MEDIUM, HIGH, or CRITICAL.string
default:"OPEN"
Initial lifecycle status. One of
OPEN, ACKNOWLEDGED, INVESTIGATION, MITIGATED, RESOLVED, or CLOSED.string
Origin of the incident (e.g.
"MONITORING", "CUSTOMER", "INTERNAL").string
The product or service area affected (e.g.
"payments").string
Target environment (e.g.
"production", "staging").string
Cloud or geographic region (e.g.
"us-east-1").string
Email address of the on-call engineer to assign this ticket to.
string
Customer-facing description of the incident.
string
Internal technical description for the engineering team.
string
Brief summary of user or business impact.
string
Estimated scope of impact (e.g.
"100% of users", "EU region only").List incidents
Returns a paginated list of incident tickets, ordered by creation date descending. Supports filtering by status, priority, environment, and date range.GET /
number
default:"1"
Page number.
number
default:"20"
Items per page (max 100).
string
Filter by status:
OPEN, ACKNOWLEDGED, INVESTIGATION, MITIGATED, RESOLVED, or CLOSED.string
Filter by priority:
LOW, MEDIUM, HIGH, or CRITICAL.Get incident analytics
Returns aggregate metrics across all incidents — useful for dashboards and SLA reporting. Includes total counts by status, mean time to acknowledge (MTTA), and mean time to resolve (MTTR).GET /analytics
number
Total incident count in the workspace.
object
Count broken down by each status value.
object
Count broken down by each priority value.
number
Average acknowledgement time in minutes.
number
Average resolution time in minutes.
Get an incident
GET /:id
string
required
The incident ID.
Update an incident
Accepts the same fields asPOST /. Only provided fields are updated.
PUT /:id
string
required
The incident ID to update.
Delete an incident
DELETE /:id
string
required
The incident ID to delete.
Add a comment
Post a comment to an incident ticket. Comments are visible to all team members with access to the ticket. Markdown is supported incontent.
POST /comment
string
required
The incident ticket ID to comment on.
string
required
The comment body. Markdown is supported.
List comments
Retrieve all comments for an incident ticket in chronological order.GET /comment/:ticketId
string
required
The incident ticket ID.
List messages
Retrieve the message thread for an incident ticket. Messages are distinct from comments — they typically represent system events, status transitions, and automated notifications.GET /message/:ticketId
string
required
The incident ticket ID.
Resolve an incident
Mark an incident asRESOLVED and trigger any configured post-resolution hooks.
POST /resolve/:id
string
required
The incident ID to resolve.
Resolve and generate a customer KB article
Resolve the incident and automatically draft a knowledge-base article for your customer-facing help center based on the incident summary and resolution steps.POST /resolve/customer-kb/:id
string
required
The incident ID.
AI: five-whys analysis
Trigger Ezra AI to perform a five-whys root cause analysis on the incident. Results are computed and returned synchronously.GET /resolve/ai/five-whys/:id
string
required
The incident ID to analyse.
string
First causal layer — observable symptom.
string
Second causal layer.
string
Third causal layer.
string
Fourth causal layer.
string
Fifth causal layer — root cause.
string
Synthesised root cause statement.
AI: remediation suggestion
Ask Ezra AI for recommended remediation steps based on the incident context and historical failure patterns.GET /resolve/ai/suggestion/:id
string
required
The incident ID.
AI: stakeholder update
Generate a pre-drafted stakeholder communication tailored for a non-technical audience.GET /resolve/ai/stakeholder/:id
string
required
The incident ID.
Generate a PDF report
Export an incident as a formatted PDF suitable for post-incident reviews or audit trails. The response is a binary PDF stream.POST /generate-pdf
string
required
The incident ID to export.
cURL
The response body is a binary PDF stream with
Content-Type: application/pdf. Write it directly to a file rather than parsing it as JSON.