---
title: "Get all uptime check history"
method: GET
path: "/uptime/{test_id}/history"
tags: ["uptime"]
---

# Get all uptime check history

`GET /uptime/{test_id}/history`

Returns a list of uptime check history results for a given id,
detailing the runs performed on the StatusCake testing infrastruture.

The returned results are a paginated series. Alongside the response
data is a `links` object referencing the current response document,
`self`, and the next page in the series, `next`.

## Path parameters

- `test_id` string, required

## Query parameters

- `limit` integer
- `before` integer
- `after` integer

## Response `200`

OK

- UptimeTestHistory
  - `data` UptimeTestHistoryResult[], required — List of uptime check history results
    - `created_at` string, date-time, required — Creation time of the result (RFC3339 format)
    - `location` string — The server location the check ran
    - `performance` integer — Recorded loadtime (ms)
    - `status_code` integer — Uptime check status code
  - `links` Links, required
    - `self` string, uri, required — The URL that created the current response document
  - `metadata` Metadata

## Other responses

- `default` — Unexpected Error

---

[API](https://skmtc.dev/statuscake/apis/statuscake-api.md) · [All operations](https://skmtc.dev/statuscake/apis/statuscake-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/statuscake/statuscake-api/revisions/6d32a6afe2cf/schema)
