Retrieve Check State
To show information about an existing check's state, send a GET request to /v2/uptime/checks/$CHECK_ID/state.
Path parameters
A unique identifier for a check.
Response
The response will be a JSON object with a key called state. The value of this will be an object that contains the standard attributes associated with an uptime check's state.
Example response
{
"state": {
"regions": {
"us_east": {
"status": "UP",
"status_changed_at": "2022-03-17T22:28:51Z",
"thirty_day_uptime_percentage": 97.99
},
"eu_west": {
"status": "UP",
"status_changed_at": "2022-03-17T22:28:51Z",
"thirty_day_uptime_percentage": 97.99
}
},
"previous_outage": {
"region": "us_east",
"started_at": "2022-03-17T18:04:55Z",
"ended_at": "2022-03-17T18:06:55Z",
"duration_seconds": 120
}
}
}Changes
Changed in 4 of the 8 revisions of this API.14
- ○
api tag
DigitalOcean-public.v2-new_Uptimeaddedapi-tag-added
- ○
api tag
Uptimeremovedapi-tag-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 436 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○