To show information about an existing check’s state, send a GET request to /v2/uptime/checks/$CHECK_ID/state
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
check_id |
string | True | A unique identifier for a check. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.uptime.check_state_get(check_id="fd9fda")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.