---
title: "A heartbeat monitor's runs (start, finish, outcome, duration), newest first"
method: GET
path: "/checks/{id}/runs"
tags: ["Checks"]
---

# A heartbeat monitor's runs (start, finish, outcome, duration), newest first

`GET /checks/{id}/runs`

## Request

- Base URL: `https://realuptime.io/api/v1`
- URL: `https://realuptime.io/api/v1/checks/{id}/runs`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Query parameters

- `limit` integer
- `before` string

## Response `200`

Runs newest first, clamped to the plan's raw-history window (visible_since).

- object
  - `runs` object[], required
    - `id` string, required
    - `run_id` string, nullable, required
    - `started_at` string, nullable, required
    - `finished_at` string, nullable, required
    - `outcome` 'running' | 'success' | 'fail' | 'superseded', required
    - `duration_ms` number, nullable, required
    - `stuck` boolean, required
    - `exit_code` number, nullable, required
    - `exit_detail` string, nullable, required
  - `visible_since` string, required
  - `next_before` string, nullable, required

## Other responses

- `400`: limit or before is malformed. - `RU-3001` Invalid check request: https://realuptime.io/kb/errors/ru-3001
- `401`: Missing, invalid, or revoked API key. - `RU-1001` Missing API credentials: https://realuptime.io/kb/errors/ru-1001 - `RU-1002` Invalid or revoked API key: https://realuptime.io/kb/errors/ru-1002
- `403`: This key is IP-restricted and the request came from outside its allowlist. - `RU-1007` API key is restricted to an IP allowlist: https://realuptime.io/kb/errors/ru-1007
- `404`: No such heartbeat monitor on this account. - `RU-3003` Check not found: https://realuptime.io/kb/errors/ru-3003
- `429`: Per-key rate limit exceeded, a Free account's per-account request budget exceeded, or too many failed authentication attempts. - `RU-2002` API read rate limit exceeded: https://realuptime.io/kb/errors/ru-2002 - `RU-2001` Too many failed authentication attempts: https://realuptime.io/kb/errors/ru-2001

---

[API](https://skmtc.dev/realuptime/apis/realuptime-api-v1.md) · [All operations](https://skmtc.dev/realuptime/apis/realuptime-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/realuptime/apis/realuptime-api-v1/revisions/51e481084700?raw)
