pagespeed

Get all pagespeed check 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.

get/pagespeed/{test_id}/history

Path parameters

test_idstring required

Pagespeed check ID

Query parameters

limitinteger

The number of results to return from the series

beforeinteger

Only results created before this UNIX timestamp will be returned

afterinteger

Only results created after this UNIX timestamp will be returned

Response

OK

metadataMetadata

Example response

{
  "data": [
    {
      "created_at": "2017-11-04T11:58:23+00:00",
      "filesize": 169.342,
      "har_location": "https://16a0fd6b5b5bece1d29a-7aa19249e604542958e6a694f67d0bbf.ssl.cf5.rackcdn.com/b8f1cc4f-d6f0-495b-a478-7577d174f9fe.json",
      "loadtime": 361,
      "requests": 9,
      "throttling": "4G"
    }
  ],
  "links": {
    "self": "https://api.statuscake.com/v1/pagespeed/1/history?before=1509796803",
    "next": "https://api.statuscake/com/v1/pagespeed/1/history?before=1509796703"
  },
  "metadata": {
    "aggregates": {
      "filesize": {
        "min": 8,
        "max": 9,
        "avg": 8.129
      },
      "loadtime": {
        "min": 162,
        "max": 3344,
        "avg": 410.292
      },
      "requests": {
        "min": 160,
        "max": 169,
        "avg": 161.654
      }
    }
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.