Check a monitor now
/workspaces/{workspace}/status/monitors/{monitor}/checkRuns a real check straight away and records it (unless the monitor is paused). Returns the updated monitor and what the check found.
Authentication
Send an API token as a bearer token. This endpoint needs a read and write token, made by an editor, admin or owner. Create one in My account → API tokens; see scopes and roles.
Authorization: Bearer 42|bynh_pat_•••••••HeaderPath parameters
workspacestringRequiredYour workspace slug, e.g. dokan.
monitorintegerRequiredMonitor id.
Response
200 OKMonitor detail plus meta {ok, summary (localized), status_code, response_ms}.
idintegerMonitor id.namestringName.typeenumCheck type. One ofhttp,keyword,tcp,heartbeat.type_labelstringLocalized (HTTPS, Keyword, Port, Heartbeat).targetstringURL without scheme, host:port, or “every 5 minutes” for heartbeats (localized).statusenumCurrent state. One ofpending,up,slow,down,paused.status_labelstringLocalized.status_changed_atstring|nullISO 8601.uptime_90dnumber|nullAverage of daily uptime percentages over checked days.response_msinteger|nullLast response time.slow_after_msinteger|nullSlow threshold.interval_secondsintegerCheck interval.last_checked_atstring|nullISO 8601.last_errorstring|nullLast failure summary.tagsarray<string>Lower-case tags.component{id, name, group_id}|nullStatus page component it drives.barsarray90 entries, oldest first: {day: YYYY-MM-DD, uptime: percent 0–100 with 3 decimals or null if not checked that day, incident_minutes: integer}.paused_atstring|nullISO 8601.consecutive_failuresintegerFailures in a row.last_status_codeinteger|nullLast HTTP status.last_heartbeat_atstring|nullHeartbeats only.created_atstringISO 8601.ssl{expires_at, days_left, issuer}|nullTLS certificate seen on the last check.statsobjectincidents_90d, downtime_minutes_90d, response_median_ms and response_p95_ms (last 24 hours).configobjecturl, host, port, method, expected_statuses (default ["2xx","3xx"]), keyword, keyword_absent, request_headers [{name, value}], request_body, body_is_json, auth_type, auth_username, has_secret, secret_hint (last 4 characters, editors only), follow_redirects, verify_ssl, ssl_reminders, timeout_seconds, failure_threshold, alert_email, incident_mode, meta [{key, value}], show_response_time, heartbeat_path. The secret itself is never returned.component_detail{id, name, group, group_id}|nullIts status page component.recent_checks[]objectLast 20 checks: id, checked_at, ok, slow, in_maintenance, status_code, response_ms, error.incidents[]IncidentLast 10 incidents on this monitor or its component (without updates).maintenance[]MaintenanceUp to 5 open windows on its component.meta.okbooleanCheck passed.meta.summarystringe.g. “Answered in 182 ms”.meta.status_codeinteger|nullHTTP status.meta.response_msinteger|nullResponse time.
Rate limits
This endpoint counts toward your general limit of 120 requests a minute and its own limit of 10 a minute. Its own limit answers 429 without Retry-After; wait and try again.
Errors
Every error is JSON with a message. See Errors.