API referenceSections

Run a check now and record it like a scheduled one

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/tenants/{tid}/uptime/monitors/{id}/check

Run a check now and record it like a scheduled one

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Responses

200 The check after it ran

Content type: application/json

  • id string required
  • tenant_id string required
  • name string required
  • kind string required
    Allowed values: "http" "smtp" "imap" "tcp" "heartbeat" "panel"
  • site_id string required
  • server_id string required
  • target string required

    The URL (http, panel) or host (smtp, imap, tcp)

  • port integer required
  • tls_mode string required

    none, implicit or starttls

  • expect_status integer required

    0 takes any 2xx or 3xx

  • keyword string required
  • interval_s integer required
  • timeout_s integer required
  • fail_threshold integer required

    Failed checks in a row that open an incident

  • cert_warn_days integer required
  • checker_id string required

    The external checker that runs it; empty is the panel

  • paused boolean required
  • state string required
    Allowed values: "unknown" "up" "down"
  • fails integer required
  • fail_since string (date-time) | null required
  • last_at string (date-time) | null required
  • last_ok boolean required
  • last_ms integer required
  • last_status integer required
  • last_error string required
  • last_source string required
  • cert_not_after string (date-time) | null required
  • next_at string (date-time) required
  • created_at string (date-time) required
  • uptime map<string, UptimeFigure> required

    By window: 24h, 7d, 30d, 90d

    • percent number | null required

      No figure before anything was watched in the window

    • down_seconds integer required
    • incidents integer required
  • open_incident UptimeIncident | null required
    • id string required
    • monitor_id string required
    • tenant_id string required
    • started_at string (date-time) required
    • ended_at string (date-time) | null required
    • cause string required
    • monitor_name string optional
  • site_hostname string required
  • server_name string required
  • checker_name string required
  • checker_silent boolean required
  • recent array<integer> required

    Response times of the last checks, in ms

Example
{
  "id": "string",
  "tenant_id": "string",
  "name": "string",
  "kind": "http",
  "site_id": "string",
  "server_id": "string",
  "target": "string",
  "port": 0,
  "tls_mode": "string",
  "expect_status": 0,
  "keyword": "string",
  "interval_s": 0,
  "timeout_s": 0,
  "fail_threshold": 0,
  "cert_warn_days": 0,
  "checker_id": "string",
  "paused": true,
  "state": "unknown",
  "fails": 0,
  "fail_since": "2026-01-01T00:00:00Z",
  "last_at": "2026-01-01T00:00:00Z",
  "last_ok": true,
  "last_ms": 0,
  "last_status": 0,
  "last_error": "string",
  "last_source": "string",
  "cert_not_after": "2026-01-01T00:00:00Z",
  "next_at": "2026-01-01T00:00:00Z",
  "created_at": "2026-01-01T00:00:00Z",
  "uptime": {
    "key": {
      "percent": 0,
      "down_seconds": 0,
      "incidents": 0
    }
  },
  "open_incident": {
    "id": "string",
    "monitor_id": "string",
    "tenant_id": "string",
    "started_at": "2026-01-01T00:00:00Z",
    "ended_at": "2026-01-01T00:00:00Z",
    "cause": "string",
    "monitor_name": "string"
  },
  "site_hostname": "string",
  "server_name": "string",
  "checker_name": "string",
  "checker_silent": true,
  "recent": [
    0
  ]
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required