uptime

Get all uptime check alerts

Returns a list of uptime check alerts for a given id.

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.

get/uptime/{test_id}/alerts

Path parameters

test_idstring required

Uptime check ID

Query parameters

limitinteger

The number of uptime alerts to return per page

beforeinteger

Only alerts triggered before this UNIX timestamp will be returned

afterinteger

Only alerts triggered after this UNIX timestamp will be returned

Response

OK

metadataMetadata

Example response

{
  "data": [
    {
      "id": "123",
      "status": "down",
      "status_code": 404,
      "triggered_at": "2013-02-25T14:42:41+00:00"
    }
  ],
  "links": {
    "self": "https://api.statuscake.com/v1/uptime/1/alerts?before=1361803461",
    "next": "https://api.statuscake.com/v1/uptime/1/alerts?before=1361803361"
  }
}

Changes

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