API reference
Get an incident
Get one Uptenna incident by id with the API: automatic or declared by hand, its status, affected monitors and every written update, newest first.
GET https://uptenna.com/v1/incidents/{id}
One incident, automatic or manual, with its written updates.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | The incident's id (inc_…). |
Example request
curl "https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY" \
-H "Authorization: Bearer $UPTENNA_API_KEY"const res = await fetch("https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.UPTENNA_API_KEY}`,
},
});
if (!res.ok) throw new Error((await res.json()).error.message);
const incident = await res.json();Response
Returns 200 OK with the incident object.
{
"id": "inc_b8Q2mXz4LkTe",
"kind": "http",
"status": "resolved",
"severity": "down",
"title": "API down",
"impact": null,
"monitor_id": "mon_Xk3v9QmT2bLp",
"monitor_name": "API",
"status_page_id": null,
"monitor_ids": [
"mon_Xk3v9QmT2bLp"
],
"reason": "status_503",
"reason_text": "Got HTTP 503 (expected 2xx or 3xx)",
"status_code": 503,
"started_at": "2026-11-28T03:12:00.000Z",
"resolved_at": "2026-11-28T03:16:00.000Z",
"updates": [
{
"id": "upd_T4kq9Wm2ZpXc",
"status": "resolved",
"message": "A bad deploy took the API down for four minutes. We rolled it back and added a check to the deploy pipeline.",
"created_at": "2026-11-28T03:40:12.000Z",
"updated_at": "2026-11-28T03:40:12.000Z"
}
]
}Errors
Errors look like { "error": { "code", "message" } } (see Errors).
| Status | Code | When |
|---|---|---|
| 404 | not_found | No incident with this id in your account. |
| 401 | unauthorized | The Authorization header is missing, malformed, or the key is unknown or revoked. |
| 429 | rate_limited | More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds. |