# 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.

Source: https://uptenna.com/docs/api-list-incidents  
Markdown: https://uptenna.com/docs/api-list-incidents.md

`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

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `monitor_id` | string | no | Only this monitor's incidents. |
| `status` | string | no | Only open or only resolved incidents. One of `open`, `resolved`. |
| `limit` | integer | no | 1 to 100. Default 50. |
| `cursor` | string | no | The `next_cursor` of the previous page. |

## Example request

```bash curl
curl "https://uptenna.com/v1/incidents?status=resolved&limit=20" \
  -H "Authorization: Bearer $UPTENNA_API_KEY"
```

```js 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](https://uptenna.com/docs/api-objects#incident), and `next_cursor`.

```json 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](https://uptenna.com/docs/api#errors)).

| Status | Code | When |
| --- | --- | --- |
| 400 | `invalid_parameter` | `status`, `limit` or `cursor` isn't valid. |
| 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. |
