Skip to navigation

Retrieve a website's uptime settings

View as MarkdownOpen in Claude

Returns how one website is monitored: whether monitoring is on, its keyword check (type some needs at least one keyword on the page, every needs all of them; plan-dependent), its redirect check, the path checked (null for the website root), the website’s last known reachability (site_status: up, down or unknown, read only) and when the next check runs. The values read back under the same keys “Update a website’s uptime settings” accepts.

The id is the website’s uptime settings id: read it from the site_preset_uptime include of “Retrieve a website” (?include=site_preset_uptime) or from meta.updated of “Assign websites to an uptime global configuration”.

A website that was never assigned a global configuration has no uptime settings.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

site_preset_uptimestringRequired

Query parameters

includestringOptional

Relations to add to the answer, comma separated: preset (the global configuration the website uses) and current_change (the current status change). Without include both are answered; an include narrows the answer to the ones it names, and an empty include= answers none. Any other name, including the camelCase currentChange, answers 400.

Response

200 - Uptime service

dataobjectOptional
includedlist of objectsOptional
jsonapiobjectOptional

Errors

400
Bad Request Error