Skip to main content
GET
/
api
/
v1
/
monitors
/
{id}
/
uptime
Get uptime statistics
curl --request GET \
  --url https://api.devhelm.io/api/v1/monitors/{id}/uptime \
  --header 'Authorization: Bearer <token>'
{
  "uptimePercentage": 99.95,
  "totalChecks": 1440,
  "passedChecks": 1439,
  "avgLatencyMs": 142.5,
  "p95LatencyMs": 312
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Path Parameters

id
string<uuid>
required

Query Parameters

window
enum<string>

Time window for uptime calculation

Available options:
24h,
7d,
30d,
90d

Response

Uptime statistics

Uptime statistics aggregated from continuous aggregates

uptimePercentage
number<double> | null

Uptime percentage over the requested window; null when no data

Example:

99.95

totalChecks
integer<int64>

Total number of checks executed

Example:

1440

passedChecks
integer<int64>

Number of checks that passed

Example:

1439

avgLatencyMs
number<double> | null

Weighted average latency in milliseconds; null when no data

Example:

142.5

p95LatencyMs
number<double> | null

95th-percentile latency in milliseconds (upper bound across regions); null when no data

Example:

312