API reference

List incidents

List incidents with the Uptenna API, newest first: filter by monitor and by open or resolved, and page through the history with a cursor.

GET https://uptenna.com/v1/incidents

Your incidents, newest first, optionally for one monitor or only open or resolved ones. Paginated with a cursor.

When next_cursor is null there are no more pages. Cursors are opaque: pass them back as they are.

Query parameters

NameTypeRequiredDescription
monitor_idstringnoOnly this monitor's incidents.
statusstringnoOnly open or only resolved incidents. One of open, resolved.
limitintegerno1 to 100. Default 50.
cursorstringnoThe next_cursor of the previous page.

Example request

curl
curl "https://uptenna.com/v1/incidents?status=resolved&limit=20" \
  -H "Authorization: Bearer $UPTENNA_API_KEY"
Node.js (fetch)
const res = await fetch("https://uptenna.com/v1/incidents?status=resolved&limit=20", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.UPTENNA_API_KEY}`,
  },
});
if (!res.ok) throw new Error((await res.json()).error.message);
const { data } = await res.json();

Response

Returns 200 OK with data, a list of incident objects, and next_cursor.

200 OK
{
  "data": [
    {
      "id": "inc_b8Q2mXz4LkTe",
      "monitor_id": "mon_Xk3v9QmT2bLp",
      "monitor_name": "API",
      "kind": "http",
      "status": "resolved",
      "severity": "down",
      "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"
    }
  ],
  "next_cursor": "MTc2NDI5OTUyMDAwMC5pbmNfYjhRMm1YejRMa1Rl"
}

Errors

Errors look like { "error": { "code", "message" } } (see Errors).

StatusCodeWhen
400invalid_parameterstatus, limit or cursor isn't valid.
401unauthorizedThe Authorization header is missing, malformed, or the key is unknown or revoked.
429rate_limitedMore than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.