# List monitors

> List every HTTP monitor and heartbeat in your Uptenna account with the Uptenna API: settings, current status, last check and 24-hour and 30-day uptime.

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

`GET https://uptenna.com/v1/monitors`

Every monitor in your account, oldest first, with its current status and uptime.

## Example request

```bash curl
curl "https://uptenna.com/v1/monitors" \
  -H "Authorization: Bearer $UPTENNA_API_KEY"
```

```js Node.js (fetch)
const res = await fetch("https://uptenna.com/v1/monitors", {
  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 [monitor objects](https://uptenna.com/docs/api-objects#monitor).

```json 200 OK
{
  "data": [
    {
      "id": "mon_Xk3v9QmT2bLp",
      "kind": "http",
      "name": "API",
      "status": "up",
      "paused": false,
      "over_limit": false,
      "url": "https://api.example.com/health",
      "method": "GET",
      "expect_status": "200-399",
      "keyword": null,
      "keyword_absent": null,
      "timeout_ms": 10000,
      "interval_s": 60,
      "effective_interval_s": 60,
      "ssl_check": true,
      "heartbeat_url": null,
      "period_s": null,
      "grace_s": null,
      "last_ping_at": null,
      "last_checked_at": "2026-12-01T09:41:00.000Z",
      "last_latency_ms": 182,
      "last_status_code": 200,
      "last_reason": null,
      "reason_text": null,
      "cert_expires_at": "2027-02-14T23:59:59.000Z",
      "cert_issuer": "Let's Encrypt",
      "open_incident_id": null,
      "uptime_24h": 1,
      "uptime_30d": 0.9993,
      "created_at": "2026-11-02T14:03:11.000Z",
      "updated_at": "2026-11-20T08:15:42.000Z"
    },
    {
      "id": "mon_P7wq2NcY8sRd",
      "kind": "heartbeat",
      "name": "Nightly backup",
      "status": "pending",
      "paused": false,
      "over_limit": false,
      "url": null,
      "method": null,
      "expect_status": null,
      "keyword": null,
      "keyword_absent": null,
      "timeout_ms": null,
      "interval_s": null,
      "effective_interval_s": null,
      "ssl_check": null,
      "heartbeat_url": "https://uptenna.com/hb/4fQ0dJx8m2VtR7kLs9aB1cZe",
      "period_s": 86400,
      "grace_s": 3600,
      "last_ping_at": null,
      "last_checked_at": null,
      "last_latency_ms": null,
      "last_status_code": null,
      "last_reason": null,
      "reason_text": null,
      "cert_expires_at": null,
      "cert_issuer": null,
      "open_incident_id": null,
      "uptime_24h": null,
      "uptime_30d": null,
      "created_at": "2026-12-01T09:42:05.000Z",
      "updated_at": "2026-12-01T09:42:05.000Z"
    }
  ]
}
```

## Errors

Errors look like `{ "error": { "code", "message" } }` (see [Errors](https://uptenna.com/docs/api#errors)).

| Status | Code | When |
| --- | --- | --- |
| 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. |
