Docs

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

Sign in Start free

List connected machines

Lists the machines connected with keys of the Company, with online state, last run, last action left to another machine and offline alarm.

GET https://app.upfour.io/v1/runners
GET https://app.upfour.io/v1/runners
Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs api_key.read.

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 api_key.read stable returns 200

Returns

A successful request returns 200 with application/json.

Response fields 2 top-level fields
FieldTypeDescription
data RunnerView[] · nullable
Each item · 41 fields
FieldTypeDescription
arch string
cli_version string
connected_since string (date-time) · nullable Start of the oldest open stream. Null while offline.
delivery RunnerDeliveryView Delivery time from confirmation to the machine over the last 7 days. Suspicion events are measured apart.
RunnerDeliveryView · 8 fields
FieldTypeDescription
last_event_at string (date-time) · nullable
p50_ms integer · nullable Null without samples.
p95_ms integer · nullable Null without samples.
samples integer
suspicion RunnerLatencyView
RunnerLatencyView · 3 fields
FieldTypeDescription
p50_ms integer · nullable Null without samples.
p95_ms integer · nullable Null without samples.
samples integer
event_types string[] · nullable Confirmed event types the machine receives. Null receives every type of the webhook catalogue except webhook.test.
first_seen_at string (date-time)
host string Host name the CLI reports with X-Up4-Runner-Host. Display only.
id uuid
key RunnerKeyView · nullable The API key the machine used last. Null when that key was deleted.
RunnerKeyView · 4 fields
FieldTypeDescription
allowed_clients uuid[] · nullable Clients the key is limited to. Empty: the key reaches the company and every client.
id uuid
name string
scopes string[] · nullable Permission scopes the key carries, for example runner.stream.read.
last_deferred RunnerDeferralView · nullable The latest action the machine left to another machine because that one held the lock. Null without one.
RunnerDeferralView · 4 fields
FieldTypeDescription
at string (date-time)
handler string
runner_id uuid The machine that held the lock.
runner_name string
last_run RunnerLastRunView · nullable The latest handler run the machine reported, started or finished. Null without one, or when its client is outside your access.
RunnerLastRunView · 6 fields
FieldTypeDescription
at string (date-time) When upfour received the latest report of the run.
client_id uuid · nullable The incident's client. Null at company level.
handler string
incident_id uuid
kind string
outcome string · nullable one ofsucceededfailedtimeoutunknown Null while the run is in progress. unknown: the machine stopped reporting mid-run and its lock expired; no other machine repeated the action.
last_seen_at string (date-time)
name string Display name. Taken from X-Up4-Runner-Name on the first connection; a rename here sticks across later connections.
offline_alert RunnerOfflineAlertView The offline alarm. While enabled, upfour keeps a scheduled job for the machine that turns down after grace_seconds without a connection, with the alerts of a scheduled job.
RunnerOfflineAlertView · 2 fields
FieldTypeDescription
enabled boolean
grace_seconds integer Seconds without a connection before the alarm.
online boolean True while at least one stream of the machine is open on any instance.
os string
suspicion_enabled boolean Whether the machine also receives monitor.suspected and monitor.suspicion_cleared, the unconfirmed early warnings.
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.
403 permission_denied The credentials do not permit this action.
503 service_unavailable The service or a required dependency is temporarily unavailable.

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