UptimeUptime Wiki

Incident

Parameters

Path Parameters
id*integer

Entity id

Formatint64
Range0 <= value

Try the endpoint

GET
/api/v1/incidents/{id}

Code example

curl -X GET "https://example.com/api/v1/incidents/0"

Response example

{  "id": 0,  "root_kind": "string",  "root_entity_id": 0,  "rack_id": 0,  "root_msg_key": "string",  "root_msg_args": [    {      "key": "string",      "text": "string",      "number": 0.1,      "is_number": true    }  ],  "symptom_kind": "string",  "symptom_msg_key": "string",  "symptom_msg_args": [    {      "key": "string",      "text": "string",      "number": 0.1,      "is_number": true    }  ],  "symptom_customer_id": 0,  "confirmed": true,  "causes": [    {      "root_kind": "string",      "entity_id": 0,      "rack_id": 0,      "msg_key": "string",      "msg_args": [        {          "key": "string",          "text": "string",          "number": 0.1,          "is_number": true        }      ],      "confidence": 0,      "confirmed": true,      "cleared": true,      "articles": [        {          "id": "string",          "title": "string",          "title_plain": "string"        }      ]    }  ],  "started_at_ns": 0,  "last_changed_at_ns": 0,  "resolved_at_ns": 0,  "affected_customer_ids": [    0  ],  "affected_host_ids": [    0  ],  "affected_host_total": 0,  "revenue_at_risk_per_hour_dollars": 0.1,  "max_sla_tier": "string",  "compliance_at_risk": "string",  "redundancy_promise_broken": true,  "band": "string",  "timeline": [    {      "at_ns": 0,      "kind": "string",      "detail": "string"    }  ],  "work_order_ids": [    0  ],  "channel_thread_id": 0,  "articles": [    {      "id": "string",      "title": "string",      "title_plain": "string"    }  ],  "hint_tier": 0,  "hint": "string",  "evidence": [    {      "label": "string",      "label_plain": "string",      "value": "string",      "value_plain": "string",      "detail": "string",      "detail_plain": "string",      "leading": true    }  ]}

Response body

200The entity
application/json

Renderer-friendly mirror of sim_core::incident::Incident. Channel UI, post-mortem, and the "is this customer impacted?" badge all read from these. Severity (EventView.severity) is a per-event tag; band here is the incident-level gravity read.

On this page