uptime
Get all uptime check periods
Returns a list of uptime check periods for a given id, detailing the creation time of the period, when it ended and the duration.
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}/periods
Path parameters
test_idstring required
Uptime check ID
Query parameters
limitinteger
The number of uptime check periods to return per page
beforeinteger
Only check periods created before this UNIX timestamp will be returned
afterinteger
Only check periods created after this UNIX timestamp will be returned
Response
OK
Example response
{
"data": [
{
"created_at": "2013-02-25T14:42:41+00:00",
"duration": 189000,
"ended_at": "2013-02-25T14:45:50+00:00",
"status": "down"
}
],
"links": {
"self": "https://api.statuscake.com/v1/uptime/1/periods?before=1361803461",
"next": "https://api.statuscake.com/v1/uptime/1/periods?before=1361803361"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.