Docs

Type a word or a question. Esc closes the search.

Sign in Start free

Get scheduled job availability

Returns uptime, downtime and outage statistics for each reported period.

GET https://app.upfour.io/v1/heartbeats/{heartbeatID}/availability
GET https://app.upfour.io/v1/heartbeats/{heartbeatID}/availability
Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs heartbeat.read.
Path

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope heartbeat.read stable returns 200

Parameters

FieldTypeDescription
heartbeatID required uuid path parameter

Returns

A successful request returns 200 with application/json.

Response fields 2 top-level fields
FieldTypeDescription
data HeartbeatAvailabilityPeriod[] · nullable
Each item · 12 fields
FieldTypeDescription
covered boolean
downtime_seconds integer
elapsed_seconds integer
ends_at string (date-time)
longest_outage_seconds integer
outages integer
period string
starts_at string (date-time) · nullable
uptime_percentage number
watching_since string (date-time) · nullable
consistency_error string
paused_seconds integer
pagination Pagination
Pagination · 5 fields
FieldTypeDescription
cursor string · nullable
has_more boolean
limit integer 1–250
next_cursor string · nullable
prev_cursor string · nullable

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
404 not_found The requested resource does not exist or is outside the caller's scope.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.