v1

latestOpenAPI 3.1.02026-07-2637098.0 KB

Get all sites

Retrieves all sites and monitored URL's for an account/team and the median tests for a site across all URL's and regions.

get/sites

Query parameters

medianinteger

Return median tests across all URLs for a site. Off by default. (0 = off, 1 = on)

daysinteger

Number of days of median tests to return. (Max: 365)

Response

200

Example response

{
  "sites": [
    {
      "site_id": 123,
      "name": "Guardian",
      "checks_scheduled": 1095,
      "urls": [
        {
          "url_id": 123,
          "url": "http://www.theguardian.com/"
        }
      ]
    }
  ]
}