Skip to content

Incidents, analysis and fixes

Generated from openapi.json (API version 0.54.3). 61 endpoints. See the API overview for the base URL and how to sign requests.

GET /incidents

Needs read:alert.

Get last incidents

Query parameters

Name Type Required Description
candidate boolean no
predicted boolean or null no
limit integer no
offset integer no
sorting IncidentSorting no
status array of IncidentStatus no
severity array of IncidentSeverity no
assignees array of string no
sources array of string no
affected_services array of string no
cel string no

Responses

  • 200 Successful Response: IncidentsPaginatedResultsDto

POST /incidents

Needs write:incident.

Create new incident

Body (application/json, required): IncidentDtoIn

Field Type Required Description
user_generated_name string or null no
assignee string or null no
user_summary string or null no
same_incident_in_the_past_id string (uuid) or null no
severity IncidentSeverity or null no

Responses

  • 202 Successful Response: IncidentDto

GET /incidents/meta

Needs read:alert.

Get incidents’ metadata for filtering

Responses

  • 200 Successful Response: IncidentListFilterParamsDto

GET /incidents/summary

Needs read:incident.

Incident and fix counts for the overview page: open by status and severity, opened and resolved in the last day and week, and fixes

Responses

  • 200 Successful Response: IncidentsSummaryDto

GET /incidents/overview-stats

Needs read:incident.

The overview’s last 14 days: alerts received and the incidents they became, alerts by source, root cause coverage and confidence, median times to acknowledge, analyse and resolve, incidents by root cause category, the most affected services, and the latest root causes

Responses

  • 200 Successful Response: IncidentsOverviewStatsDto

POST /incidents/facets/options

Needs read:alert.

Query incident facet options. Accepts dictionary where key is facet id and value is cel to query facet

Body (application/json, required): FacetOptionsQueryDto

Field Type Required Description
cel string or null no
facet_queries object or null no

Responses

  • 200 Successful Response: object

GET /incidents/facets

Needs read:alert.

Get incident facets

Responses

  • 200 Successful Response: array of object

GET /incidents/facets/fields

Needs read:alert.

Get potential fields for incident facets

Responses

  • 200 Successful Response: array of object

GET /incidents/report

Needs read:alert.

Get incidents report

Query parameters

Name Type Required Description
cel string no

Responses

  • 200 Successful Response: object

GET /incidents/{incident_id}

Needs read:incident.

Get incident by id

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: IncidentDto

PUT /incidents/{incident_id}

Needs write:incident.

Update incident by id

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Query parameters

Name Type Required Description
generatedByAi boolean no Whether the incident update request was generated by AI

Body (application/json, required): IncidentDtoIn

Field Type Required Description
user_generated_name string or null no
assignee string or null no
user_summary string or null no
same_incident_in_the_past_id string (uuid) or null no
severity IncidentSeverity or null no

Responses

  • 200 Successful Response: IncidentDto

DELETE /incidents/{incident_id}

Needs write:incident.

Delete incident by incident id

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: object

DELETE /incidents/bulk

Needs write:incident.

Delete incidents in bulk

Body (application/json, required): Body_bulk_delete_incidents_incidents_bulk_delete

Field Type Required Description
incident_ids array of string (uuid) yes

Responses

  • 200 Successful Response: object

POST /incidents/{incident_id}/split

Needs write:incident.

Split incident by incident id

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): SplitIncidentRequestDto

Field Type Required Description
alert_fingerprints array of string yes
destination_incident_id string (uuid) yes

Responses

  • 200 Successful Response: SplitIncidentResponseDto

POST /incidents/merge

Needs write:incident.

Merge incidents

Body (application/json, required): MergeIncidentsRequestDto

Field Type Required Description
source_incident_ids array of string (uuid) yes
destination_incident_id string (uuid) yes

Responses

  • 200 Successful Response: MergeIncidentsResponseDto

GET /incidents/{incident_id}/alerts

Needs read:incidents.

Get incident alerts by incident incident id

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Query parameters

Name Type Required Description
limit integer no
offset integer no
include_unlinked boolean no

Responses

  • 200 Successful Response: AlertWithIncidentLinkMetadataPaginatedResultsDto

POST /incidents/{incident_id}/alerts

Needs write:incident.

Add alerts to incident

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Query parameters

Name Type Required Description
is_created_by_ai boolean no

Body (application/json, required): array of string

Responses

  • 202 Successful Response: array of AlertDto

DELETE /incidents/{incident_id}/alerts

Needs write:incident.

Delete alerts from incident

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): array of string

Responses

  • 202 Successful Response: array of AlertDto

GET /incidents/{incident_id}/future_incidents

Needs read:incidents.

Get same incidents linked to this one

Path parameters

Name Type Required Description
incident_id string yes

Query parameters

Name Type Required Description
limit integer no
offset integer no

Responses

  • 200 Successful Response: IncidentsPaginatedResultsDto

GET /incidents/{incident_id}/workflows

Needs read:incidents.

Get incident workflows by incident id

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Query parameters

Name Type Required Description
limit integer no
offset integer no

Responses

  • 200 Successful Response: WorkflowExecutionsPaginatedResultsDto

POST /incidents/event/{provider_type}

Needs write:incident.

Receive an alert event from a provider

Path parameters

Name Type Required Description
provider_type string yes

Query parameters

Name Type Required Description
provider_id string or null no

Responses

  • 202 Successful Response: object

POST /incidents/{incident_id}/assign

Needs write:incident.

Assign incident to user

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: object

POST /incidents/{incident_id}/status

Needs write:incident.

Change incident status

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): IncidentStatusChangeDto

Field Type Required Description
status IncidentStatus yes
comment string or null no
tagged_users array of string no

Responses

  • 200 Successful Response: IncidentDto

POST /incidents/{incident_id}/severity

Needs write:incident.

Change incident severity

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): IncidentSeverityChangeDto

Field Type Required Description
severity IncidentSeverity yes
comment string or null no

Responses

  • 200 Successful Response: IncidentDto

POST /incidents/{incident_id}/comment

Needs write:incident.

Add incident audit activity

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): IncidentStatusChangeDto

Field Type Required Description
status IncidentStatus yes
comment string or null no
tagged_users array of string no

Responses

  • 200 Successful Response: AlertAudit

POST /incidents/ai/suggest

Needs write:incident.

Create incident with AI

Body (application/json, required): array of string

Responses

  • 202 Successful Response: IncidentsClusteringSuggestion

POST /incidents/ai/{suggestion_id}/commit

Needs write:incident.

Commit incidents with AI and user feedback

Path parameters

Name Type Required Description
suggestion_id string (uuid) yes

Body (application/json, required): array of IncidentCommit

Responses

  • 202 Successful Response: array of IncidentDto

POST /incidents/{incident_id}/confirm

Needs write:incident.

Confirm predicted incident by id

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: IncidentDto

POST /incidents/{incident_id}/enrich

Needs write:incident.

Enrich incident with additional data

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): EnrichIncidentRequestBody

Field Type Required Description
enrichments object yes
force boolean no

Responses

  • 202 Successful Response: object

POST /incidents/{incident_id}/unenrich

Needs write:incident.

Unenrich incident additional data

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): UnEnrichIncidentRequestBody

Field Type Required Description
enrichments array of string yes
fingerprint string yes

Responses

  • 202 Successful Response: object

GET /incidents/{incident_id}/analysis

Needs read:incident.

The latest analysis of an incident: its evidence and root cause analysis

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: IncidentAnalysisAnswer

POST /incidents/{incident_id}/analysis

Needs write:incident.

Analyze the incident again: collect its evidence and write its RCA (runs in the background)

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 202 Successful Response: IncidentAnalysisOut

GET /incidents/{incident_id}/analyses

Needs read:incident.

The incident’s analysis runs, newest first: why each ran, what it found and where its RCA was sent; and the re-analysis due, if any

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Query parameters

Name Type Required Description
limit integer no

Responses

  • 200 Successful Response: AnalysisHistory

GET /incidents/{incident_id}/fix

Needs read:incident.

The incident’s latest fix

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: IncidentFixOut or null

POST /incidents/{incident_id}/fix

Needs execute:workflows.

Prepare a fix from the incident’s RCA

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 201 Successful Response: IncidentFixOut

PATCH /incidents/{incident_id}/fix/{fix_id}/steps/{number}

Needs execute:workflows.

Change a step before approval

Path parameters

Name Type Required Description
incident_id string (uuid) yes
fix_id string (uuid) yes
number integer yes

Body (application/json, required): StepChange

Field Type Required Description
command string or null no
host string or null no

Responses

  • 200 Successful Response: IncidentFixOut

POST /incidents/{incident_id}/fix/{fix_id}/approve

Needs execute:fixes.

Approve the fix: its commands run in order

Path parameters

Name Type Required Description
incident_id string (uuid) yes
fix_id string (uuid) yes

Body (application/json, required): Approval

Field Type Required Description
comment string or null no
change_ticket string or null no
revision integer yes

Responses

  • 200 Successful Response: IncidentFixOut

POST /incidents/{incident_id}/fix/{fix_id}/reject

Needs execute:fixes.

Reject the fix

Path parameters

Name Type Required Description
incident_id string (uuid) yes
fix_id string (uuid) yes

Body (application/json, required): Decision

Field Type Required Description
comment string or null no
change_ticket string or null no

Responses

  • 200 Successful Response: IncidentFixOut

POST /incidents/{incident_id}/fix/{fix_id}/abort

Needs execute:fixes.

Stop the fix: no further step runs

Path parameters

Name Type Required Description
incident_id string (uuid) yes
fix_id string (uuid) yes

Body (application/json, required): Decision

Field Type Required Description
comment string or null no
change_ticket string or null no

Responses

  • 200 Successful Response: IncidentFixOut

POST /incidents/{incident_id}/fix/{fix_id}/steps/{number}/done

Needs execute:workflows.

Mark the step the fix waits for as done by a person

Path parameters

Name Type Required Description
incident_id string (uuid) yes
fix_id string (uuid) yes
number integer yes

Body (application/json, required): StepDone

Field Type Required Description
comment string or null no

Responses

  • 200 Successful Response: IncidentFixOut

GET /incidents/{incident_id}/hints

Needs read:incident.

What people told the incident’s analysis: hints and the on-call’s answers, oldest first

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: array of HintOut

POST /incidents/{incident_id}/hints

Needs write:incident.

Tell the incident’s next analysis something: a hint, or the answer to a question its RCA asked. Masked before it is stored; a lead for the AI, never evidence

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): HintIn

Field Type Required Description
text string yes
question string or null no
question_id string or null no
analysis_id string (uuid) or null no

Responses

  • 201 Successful Response: HintOut

DELETE /incidents/{incident_id}/hints/{hint_id}

Needs write:incident.

Take a hint back; analyses already written hold what they read

Path parameters

Name Type Required Description
incident_id string (uuid) yes
hint_id string (uuid) yes

Responses

  • 204 Successful Response

GET /incidents/{incident_id}/report

Needs read:incident.

The incident’s report: its latest version and every version

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: IncidentReportOut

POST /incidents/{incident_id}/report

Needs write:reports.

Start the report, or its next version after an approved one

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): StartIn

Field Type Required Description
template string no
stage one of initial, final no

Responses

  • 201 Successful Response: ReportVersionOut

GET /incidents/{incident_id}/report/{version}

Needs read:incident.

One version of the incident’s report

Path parameters

Name Type Required Description
incident_id string (uuid) yes
version integer yes

Responses

  • 200 Successful Response: ReportVersionOut

PATCH /incidents/{incident_id}/report/{version}

Needs write:reports.

Write or clear fields of a draft

Path parameters

Name Type Required Description
incident_id string (uuid) yes
version integer yes

Body (application/json, required): EditIn

Field Type Required Description
revision integer yes
fields object no
stage one of initial, final or null no

Responses

  • 200 Successful Response: ReportVersionOut

POST /incidents/{incident_id}/report/{version}/accept

Needs write:reports.

Accept the AI’s text of these fields as it is

Path parameters

Name Type Required Description
incident_id string (uuid) yes
version integer yes

Body (application/json, required): AcceptIn

Field Type Required Description
revision integer yes
keys array of string yes

Responses

  • 200 Successful Response: ReportVersionOut

POST /incidents/{incident_id}/report/{version}/facts

Needs write:reports.

Read the incident’s facts again into a draft

Path parameters

Name Type Required Description
incident_id string (uuid) yes
version integer yes

Body (application/json, required): RevisionIn

Field Type Required Description
revision integer yes

Responses

  • 200 Successful Response: ReportVersionOut

POST /incidents/{incident_id}/report/{version}/draft

Needs write:reports.

Have the AI draft the narrative fields no person wrote, from the masked facts

Path parameters

Name Type Required Description
incident_id string (uuid) yes
version integer yes

Body (application/json, required): RevisionIn

Field Type Required Description
revision integer yes

Responses

  • 200 Successful Response: ReportVersionOut

POST /incidents/{incident_id}/report/{version}/submit

Needs write:reports.

Submit a draft for review

Path parameters

Name Type Required Description
incident_id string (uuid) yes
version integer yes

Body (application/json, required): RevisionIn

Field Type Required Description
revision integer yes

Responses

  • 200 Successful Response: ReportVersionOut

POST /incidents/{incident_id}/report/{version}/return

Needs execute:reports.

Return a version in review to its authors

Path parameters

Name Type Required Description
incident_id string (uuid) yes
version integer yes

Body (application/json, required): ReturnIn

Field Type Required Description
comment string or null no

Responses

  • 200 Successful Response: ReportVersionOut

POST /incidents/{incident_id}/report/{version}/approve

Needs execute:reports.

Approve the version in review; someone other than its authors must

Path parameters

Name Type Required Description
incident_id string (uuid) yes
version integer yes

Body (application/json, required): ApproveIn

Field Type Required Description
revision integer yes
comment string or null no

Responses

  • 200 Successful Response: ReportVersionOut

GET /incidents/{incident_id}/report/{version}/export

Needs read:incident.

The version as a printable page (html, for Save as PDF) or a Word file (docx)

Path parameters

Name Type Required Description
incident_id string (uuid) yes
version integer yes

Query parameters

Name Type Required Description
format one of html, docx no

Responses

  • 200 Successful Response: object

GET /incidents/{incident_id}/blast-radius

Needs read:incident.

The services and business services the incident can reach over the Service Topology (upstream: the impact), and the services it depends on (downstream: possible causes)

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: BlastRadius

GET /incidents/{incident_id}/deliveries

Needs read:incident.

Where the incident’s RCA was sent

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: array of DeliveryOut

POST /incidents/{incident_id}/deliveries

Needs execute:workflows and read:incident.

Send the incident’s latest RCA along a route

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): DeliveryIn

Field Type Required Description
route_id string (uuid) yes

Responses

  • 201 Successful Response: DeliveryOut

GET /incidents/{incident_id}/correlation

Needs read:incident.

Why each alert is in the incident

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: CorrelationOut

GET /incidents/{incident_id}/resolution

Needs read:incident.

What people recorded when the incident was resolved, and what they choose from

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: object

PUT /incidents/{incident_id}/resolution

Needs write:incident.

Record the confirmed cause, the RCA’s verdict and the fix that resolved the incident

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Body (application/json, required): ResolutionIn

Field Type Required Description
cause_category string or null no
note string or null no
rca_verdict one of right, partly, wrong or null no
resolved_by one of fix, manual, self or null no
fix_id string or null no

Responses

  • 200 Successful Response: object

GET /incidents/{incident_id}/similar

Needs read:incident.

The most similar past incidents, what resolved each, and the matching playbooks

Path parameters

Name Type Required Description
incident_id string (uuid) yes

Responses

  • 200 Successful Response: object