Uptime sites

List uptime checks

Returns a list of uptime check results for a site.

get/projects/{project_id}/sites/{site_id}/checks

Request

Path parameters

project_idstring required
Example:Xk9mZp

Project ID

site_idstring uuid required
Example:9f8b6d2e-4c1a-4b7f-9e35-2a6c8d0f1b47

Site identifier (uuid)

Query parameters

limitinteger

Maximum items to return. Values above 100 are treated as 100.

created_afternumber double
Example:1704067200.123456

With created_before, limits the list to a window. Alone, returns the items just after it, newest first. A Unix timestamp (seconds, not ISO 8601). Take it from links.newer; fractional seconds count.

created_beforenumber double
Example:1704153600.123456

Only items created before this Unix timestamp (seconds, not ISO 8601). Take it from links.older; fractional seconds count.

Response

Success

Example response

{
  "data": [
    {
      "duration": 182
    }
  ],
  "pagination": {
    "limit": 25,
    "oldest_cursor": "eyJ0IjoxNzA0MDY3MjAwLCJpIjoiTm04cFF4In0",
    "newest_cursor": "eyJ0IjoxNzA0MTUzNjAwLCJpIjoiWGs5bVpwIn0"
  },
  "links": {
    "self": "/v3/projects/Xk9mZp/deploys?limit=25",
    "older": "/v3/projects/Xk9mZp/deploys?before=eyJ0IjoxNzA0MDY3MjAwMTIzNDU2LCJpIjoiRHAyeU5rIn0&limit=25",
    "newer": "/v3/projects/Xk9mZp/deploys?after=eyJ0IjoxNzA0MTUzNjAwMTIzNDU2LCJpIjoiRHA4d1FzIn0&limit=25"
  },
  "meta": {
    "request_id": "6f1c2b0e-8d4a-4f6e-9b2a-3c5d7e9f1a2b"
  }
}

Changes

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