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