Docs

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

Sign in Start free

Send a test incident

Plays a simulated incident on the machine, opened and two seconds later resolved; nobody is alerted.

POST https://app.upfour.io/v1/runners/{runnerID}/test
POST https://app.upfour.io/v1/runners/{runnerID}/test

A real request. Sending it changes data in your upfour account.

Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs api_key.write.
Path
Body
More fields1
Headers

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.write stable Idempotency-Key supported returns 202

Parameters

FieldTypeDescription
runnerID required uuid path parameter

Body

application/json optional 1 field

All other fields1 fields
monitor_iduuid

Optional. The test names this monitor; without it a generic test monitor in the machine's first scope.

Returns

A successful request returns 202 with application/json.

Response fields 1 top-level fields
FieldTypeDescription
data RunnerAppTestResponse
RunnerAppTestResponse · 3 fields
FieldTypeDescription
delivered boolean
event_ids string[] · nullable The simulated incident.opened and its incident.resolved, two seconds apart.
incident_id uuid

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.
409 runner_not_connected No open stream of this machine received the test event. When: POST /v1/runner/test while the runner named in runner_id has no open stream with the same API key, or POST /v1/runners/{runnerID}/test while the machine has no open stream at all, or the stream closed before the event was handed over. Fix: Start the machine (up4 listen) and send the test again once it shows as connected.
503 service_unavailable The service or a required dependency is temporarily unavailable.
404 documented response No such machine, or the monitor is not in the Company.
409 documented response runner_not_connected when the machine has no open stream, or it closed before both events were handed over.

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