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

# Get all pagespeed check history

`GET /pagespeed/{test_id}/history`

Returns a list of pagespeed 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`.

Aggregated data over the specified duration is returned in the root
level `metadata` field.

## Path parameters

- `test_id` string, required

## Query parameters

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

## Response `200`

OK

- PagespeedTestHistory
  - `data` PagespeedTestHistoryResult[], required — List of pagespeed check history results
    - `created_at` string, date-time, required — Creation time of the result (RFC3339 format)
    - `filesize` number, float, required — Recorded filesize (kb)
    - `har_location` string, required — Location of the saved HAR file
    - `loadtime` integer, required — Recorded loadtime (ms)
    - `requests` integer, required — Recorded request count
    - `throttling` 'NONE' | '3G_FAST' | '3G_SLOW' | '4G' | 'EDGE' | 'GPRS', required — Simulated throttling speed
  - `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)
