LastPing · Schema

Check

A check resource returned by the API.

MonitoringArtificial IntelligenceDevOpsOpen SourceAutomation

Properties

Name Type Description
id string Unique check identifier.
name string Human-readable name.
slug string Stable project-scoped identifier (may be empty string if not set).
schedule_kind string `on_demand` means the check has no cadence: it never arms an absence deadline, so silence between runs never alerts. Run-scoped detection (`max_runtime_s`, `step_timeout_s`) still applies once a run s
period_s integer Period in seconds (only meaningful for schedule_kind=simple).
cron_expr string Cron expression (only present when schedule_kind=cron).
tz string IANA timezone.
grace_s integer Grace period in seconds — the silence tolerance and the first-run deadline, and the overrun budget when `max_runtime_s` is unset.
max_runtime_s integernull Run-duration budget in seconds for the overrun deadline only. **Omitted from the response when unset**, in which case the overrun rule falls back to `grace_s`. Never set on `http` monitors.
step_timeout_s integernull Progress budget in seconds for the stall rule. **Omitted from the response when unset**, in which case stall detection is disabled. Never set on `http` monitors.
expect_every_s integernull Silence floor in seconds. **Omitted from the response when unset**, in which case absence is detected only by the schedule — and, for an `on_demand` monitor, not at all between runs.
notify_min_run_s integernull Notification duration floor in seconds. **Omitted from the response when unset**, in which case every info-class notification (`success`, `started`, `every-run`, `note`) fires regardless of how short
blocked_timeout_s integernull How long (in seconds) the check may sit `blocked` before a `blocked` incident opens. **Omitted from the response when unset** — that does NOT mean the check waits forever, it means the 24-hour default
failure_threshold integer Consecutive explicit failures required before an incident opens (`fail` cause only). Always present; `1` means "open on the first failure", the default.
success_threshold integer Successes in a row a monitor down on a failure needs before its incident closes. Always present; `1` means "close on the first success", the default.
remind_every integernull Seconds between reminders while an incident stays open. Always present; `null` means reminders are off, the default.
max_reminders integer The most reminders one incident sends. Always present; `24` is the default.
cert_expiry_days array Days before the TLS certificate expires that a warning is sent, in descending order. Applies to `http` monitors with an `https` URL only. Always present; `[]` means certificate expiry warnings are off
domain_expiry_days array Days before the domain registration expires that a warning is sent, in descending order. Applies to `http` monitors only. Always present; `[]` means domain expiry warnings are off. Defaults to `[30, 7
certificate objectnull The TLS certificate an `http` monitor with an `https` URL presented on its latest successful connection. `null` on every other monitor and until a certificate has been seen. The values stay when a pro
domain objectnull The registration of the domain an `http` monitor's URL is under, as its registry publishes it. `null` on every other monitor, and for an IP address or a host with no registered domain. A new monitor,
expiry_warned array The expiry warnings sent for the certificate or the domain registration as they are now: `cert`, `domain`, both or neither. A renewal clears its entry. Always present; it is filled on reads and on the
monitor_from stringnull RFC 3339 timestamp from which deadlines are computed.
status string Current check status derived from ping history.
last_ping_at stringnull RFC 3339 timestamp of the most recent ping received.
due_at stringnull RFC 3339 timestamp when the next ping is expected.
alert_after stringnull RFC 3339 timestamp after which an alert is sent if no ping arrives.
paused boolean When true the check does not alert regardless of ping status.
paused_at stringnull RFC 3339 timestamp: when the current pause began. Pausing an already paused monitor keeps the original time. Null when the monitor is not paused, and for a pause whose start was not recorded.
maintenance_until stringnull RFC 3339 timestamp until which the check is snoozed. Alerts are suppressed while this is in the future; null or absent when the check is not snoozed.
created_at string RFC 3339 UTC timestamp when the check was created.
ping_url string The URL your service should HTTP-GET to record a successful ping.
monitor_type string Monitor mode. Omitted on responses when the value is the default `heartbeat`.
probe_url string URL being probed (HTTP monitors only; omitted otherwise).
probe_method string HTTP method used for the probe (HTTP monitors only; omitted otherwise).
probe_expected_body string Expected response body substring (HTTP monitors only; omitted otherwise).
probe_interval_s integer Probe interval in seconds (HTTP monitors only; omitted otherwise).
probe_expected_status integer Expected HTTP status code (HTTP monitors only; omitted otherwise).
probe_timeout_s integer Probe timeout in seconds (HTTP monitors only; omitted otherwise).
probe_follow_redirects boolean Whether the probe follows redirects (HTTP monitors only; omitted otherwise).
next_probe_at stringnull RFC 3339 UTC timestamp when the next probe is scheduled (HTTP monitors only; omitted otherwise).
ci_provider string CI provider bound to this check (omitted when no CI binding is set).
ci_configured boolean True when a CI binding is set on this check (omitted when false).
ci_webhook_url string Webhook URL for this CI check (omitted when no CI binding is set). POST this URL from your CI provider with the `ci_secret` as the HMAC secret.
ci_secret string **WRITE-ONCE** — returned ONLY in the `201` create response and the `POST /api/v1/checks/{id}/ci/regenerate` response. NEVER returned on GET or list. Copy it immediately; it cannot be retrieved again
ci_workflow string Optional workflow/job name filter narrowing which CI runs this check watches (omitted when unset, which watches every workflow).
ci_branch string Optional branch filter narrowing which CI runs this check watches (omitted when unset, which watches every branch).
ci_ignored object Finished CI runs (succeeded or failed) that `ci_workflow` or `ci_branch` filtered out since the last finished run that matched them, or since the filters last changed. Omitted when none were. A count
runaway_ceiling integernull Maximum pings allowed in a rolling 1-hour window. Exceeding it opens a `runaway`-cause incident, which detects a looping agent or job pinging abnormally fast. Omitted from the response when disabled f
tags array Labels attached to this monitor. Always returned as an array (never null); empty array when no tags are set.
agent_id stringnull Id of the agent that owns this monitor. Omitted/null when the monitor is unattached — including right after its owning agent was deleted: `DELETE /api/v1/agents/{id}` unowns the monitors it owned, it
source_kind string The scanner that discovered this monitor (`crontab`, `github-actions`, `k8s-cronjob`, `systemd-timer`). **Omitted when a human created the monitor**, which is the state of every monitor that predates
source_ref string The stable path within `source_kind` that identifies exactly what was found. Together with `source_kind` and the project it is the discovery reconcile key. `source_kind` and `source_ref` are always ei
trace_content string What this monitor's traces keep of prompt, command and tool content. `dropped` (the default) removes the content attributes (prompts, completions, commands, tool arguments, results and definitions, re
kind string The console's four-way grouping of this monitor, derived server-side so every surface groups it the same way. `agent` wins over the rest: an agent's heartbeat is the agent's. A CI monitor is one with
uptime_90d numbernull Uptime over the last 90 days, or since the monitor was created if that is more recent, as a percentage with two decimals. For an HTTP monitor this is the share of probes that succeeded; for every othe
latency_ms integernull The most recent probe's latency. HTTP monitors only; null for every other type and for an HTTP monitor with no probe yet.
routes_count integer How many distinct alert destinations would hear about this monitor FAILING: the destinations routed on `down`, `fail`, `blocked` or `every-run`. Distinct destinations, not route rows, so one destinati
recent_outcomes array This monitor's last 20 run outcomes, newest first, for the console's run strip. Always an array, empty when the monitor has not completed a run yet. Only terminal outcomes appear: a `start` says a run
hook_version integernull Version of the hook script last seen on a start ping (the tool is hook_tool); null when no hook that reports a version has sent a start. Older than hook_version_current means re-run set-up.
hook_version_current integer The hook script version set-up installs today for hook_tool (Claude Code when hook_tool is null). Compare it with hook_version.
hook_seen_at stringnull When hook_version was last recorded, from a start ping. Refreshed at most once an hour while the version is unchanged. Null when no hook that reports a version has sent a start.
claude_code_seen_at stringnull Latest time this monitor received a Claude Code run (a Claude Code hook start that reported a version, or a trace whose source is Claude Code). With hook_version null and a recent value here, the mach
hook_tool stringnull The client the hook reported it runs in on its start ping, recorded with hook_version. A start with a version and no tool is a Claude Code hook's, recorded as claude-code. Null when no versioned start
ci_webhook_seen_at stringnull When a CI provider webhook delivery for this monitor, with a valid signature, last arrived. Null until the first, which can be the provider's own test delivery (GitHub's `ping`).
parent_monitor_id stringnull For a repository's monitor, the hook-fed agent monitor it was split from (for example "Claude Code"); null on every other monitor. LastPing creates a repository's monitor on the first run from a git r
repo stringnull The git repository whose runs this monitor holds: the name of the folder that holds the repository (never a path), as the hook sent it, 1 to 64 characters. Null on a monitor that is not a repository's
split_by_repo boolean Whether runs from a hook (Claude Code, Codex, Antigravity) are filed under one monitor per git repository, created on the first run from each. True by default; false on a repository's own monitor, whi
repos object Returned on one monitor (get, create, update), never in the list, and only on a monitor that splits (split_by_repo true on a hook-fed on_demand monitor) or has repository monitors: the repositories it
View JSON Schema on GitHub

JSON Schema

lastping-dev-check-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lastping-dev/json-schema/lastping-dev-check-schema.json",
  "title": "Check",
  "description": "A check resource returned by the API.",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lastping-dev-openapi.yaml#/components/schemas/Check",
  "type": "object",
  "required": [
    "id",
    "name",
    "slug",
    "trace_content",
    "schedule_kind",
    "period_s",
    "tz",
    "grace_s",
    "status",
    "paused",
    "paused_at",
    "created_at",
    "ping_url",
    "tags",
    "failure_threshold",
    "success_threshold",
    "remind_every",
    "max_reminders",
    "cert_expiry_days",
    "domain_expiry_days",
    "certificate",
    "domain",
    "expiry_warned",
    "kind",
    "uptime_90d",
    "latency_ms",
    "routes_count",
    "recent_outcomes",
    "hook_version",
    "hook_version_current",
    "hook_seen_at",
    "claude_code_seen_at",
    "hook_tool",
    "ci_webhook_seen_at",
    "parent_monitor_id",
    "repo",
    "split_by_repo"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique check identifier."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name."
    },
    "slug": {
      "type": "string",
      "description": "Stable project-scoped identifier (may be empty string if not set)."
    },
    "schedule_kind": {
      "type": "string",
      "enum": [
        "simple",
        "cron",
        "on_demand"
      ],
      "description": "`on_demand` means the check has no cadence: it never arms an\nabsence deadline, so silence between runs never alerts. Run-scoped\ndetection (`max_runtime_s`, `step_timeout_s`) still applies once a\nrun starts, and `expect_every_s` — the silence floor — is the only\nway to detect absence between runs.\n"
    },
    "period_s": {
      "type": "integer",
      "format": "int64",
      "description": "Period in seconds (only meaningful for schedule_kind=simple)."
    },
    "cron_expr": {
      "type": "string",
      "description": "Cron expression (only present when schedule_kind=cron)."
    },
    "tz": {
      "type": "string",
      "description": "IANA timezone."
    },
    "grace_s": {
      "type": "integer",
      "format": "int64",
      "description": "Grace period in seconds — the silence tolerance and the first-run\ndeadline, and the overrun budget when `max_runtime_s` is unset.\n"
    },
    "max_runtime_s": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Run-duration budget in seconds for the overrun deadline only.\n**Omitted from the response when unset**, in which case the overrun\nrule falls back to `grace_s`.  Never set on `http` monitors.\n"
    },
    "step_timeout_s": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Progress budget in seconds for the stall rule.  **Omitted from the\nresponse when unset**, in which case stall detection is disabled.\nNever set on `http` monitors.\n"
    },
    "expect_every_s": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Silence floor in seconds.  **Omitted from the response when\nunset**, in which case absence is detected only by the schedule —\nand, for an `on_demand` monitor, not at all between runs.\n"
    },
    "notify_min_run_s": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Notification duration floor in seconds.  **Omitted from the\nresponse when unset**, in which case every info-class\nnotification (`success`, `started`, `every-run`, `note`) fires\nregardless of how short the run was.  Never set on `http`\nmonitors.  Never suppresses `down`, `fail`, `recovery` or\n`blocked`.\n"
    },
    "blocked_timeout_s": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "How long (in seconds) the check may sit `blocked` before a\n`blocked` incident opens.  **Omitted from the response when\nunset** — that does NOT mean the check waits forever, it means\nthe 24-hour default applies.\n"
    },
    "failure_threshold": {
      "type": "integer",
      "format": "int64",
      "description": "Consecutive explicit failures required before an incident opens\n(`fail` cause only).  Always present; `1` means \"open on the first\nfailure\", the default.\n"
    },
    "success_threshold": {
      "type": "integer",
      "format": "int64",
      "description": "Successes in a row a monitor down on a failure needs before its\nincident closes.  Always present; `1` means \"close on the first\nsuccess\", the default.\n"
    },
    "remind_every": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Seconds between reminders while an incident stays open.  Always\npresent; `null` means reminders are off, the default.\n"
    },
    "max_reminders": {
      "type": "integer",
      "format": "int64",
      "description": "The most reminders one incident sends.  Always present; `24` is\nthe default.\n"
    },
    "cert_expiry_days": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "Days before the TLS certificate expires that a warning is sent,\nin descending order.  Applies to `http` monitors with an `https`\nURL only.  Always present; `[]` means certificate\nexpiry warnings are off.  Defaults to `[14, 3]`.\n"
    },
    "domain_expiry_days": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "Days before the domain registration expires that a warning is\nsent, in descending order.  Applies to `http` monitors only.  Always present; `[]` means domain\nexpiry warnings are off.  Defaults to `[30, 7]`.\n"
    },
    "certificate": {
      "type": [
        "object",
        "null"
      ],
      "description": "The TLS certificate an `http` monitor with an `https` URL\npresented on its latest successful connection.  `null` on every\nother monitor and until a certificate has been seen.  The values\nstay when a probe fails before the connection is secured.\n",
      "required": [
        "not_after",
        "issuer",
        "checked_at"
      ],
      "properties": {
        "not_after": {
          "type": "string",
          "format": "date-time",
          "description": "When the certificate expires."
        },
        "issuer": {
          "type": [
            "string",
            "null"
          ],
          "description": "The organisation that issued it, or `null` when the certificate names none."
        },
        "checked_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "When the certificate was last read."
        }
      }
    },
    "domain": {
      "type": [
        "object",
        "null"
      ],
      "description": "The registration of the domain an `http` monitor's URL is under,\nas its registry publishes it.  `null` on every other monitor, and\nfor an IP address or a host with no registered domain.  A new\nmonitor, one whose URL moved to another domain and one just\nresumed read `checking` until the domain has been looked up for\nthem, usually within ten minutes; a paused monitor shows only\nwhat was known when it was paused.\n",
      "required": [
        "name",
        "expires_at",
        "registrar",
        "status"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "The registered domain, for example `example.com` for `api.example.com`."
        },
        "expires_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "When the registration expires; `null` when it is not known."
        },
        "registrar": {
          "type": [
            "string",
            "null"
          ],
          "description": "The registrar, when the registry names one."
        },
        "status": {
          "type": "string",
          "enum": [
            "ok",
            "unavailable",
            "error",
            "checking"
          ],
          "description": "`checking`: the domain has not been looked up since the\nmonitor was created; `expires_at` and `registrar` are `null`.\n`ok`: the expiry is known.  `unavailable`: the registry does\nnot publish an expiry for this domain, or every lookup has\nfailed for a day, so it cannot be warned about.  `error`: the latest lookup failed and will be\nretried; `expires_at` is then what an earlier lookup found,\nif any.\n"
        }
      }
    },
    "expiry_warned": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "cert",
          "domain"
        ]
      },
      "description": "The expiry warnings sent for the certificate or the domain\nregistration as they are now: `cert`, `domain`, both or neither.\nA renewal clears its entry.  Always present; it is filled on\nreads and on the responses of writes to one monitor.\n"
    },
    "monitor_from": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "RFC 3339 timestamp from which deadlines are computed."
    },
    "status": {
      "type": "string",
      "enum": [
        "new",
        "up",
        "late",
        "down"
      ],
      "description": "Current check status derived from ping history."
    },
    "last_ping_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "RFC 3339 timestamp of the most recent ping received."
    },
    "due_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "RFC 3339 timestamp when the next ping is expected."
    },
    "alert_after": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "RFC 3339 timestamp after which an alert is sent if no ping arrives."
    },
    "paused": {
      "type": "boolean",
      "description": "When true the check does not alert regardless of ping status."
    },
    "paused_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "RFC 3339 timestamp: when the current pause began. Pausing an\nalready paused monitor keeps the original time. Null when the\nmonitor is not paused, and for a pause whose start was not\nrecorded.\n"
    },
    "maintenance_until": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "RFC 3339 timestamp until which the check is snoozed. Alerts are suppressed while this is in the future; null or absent when the check is not snoozed."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "RFC 3339 UTC timestamp when the check was created."
    },
    "ping_url": {
      "type": "string",
      "format": "uri",
      "description": "The URL your service should HTTP-GET to record a successful ping."
    },
    "monitor_type": {
      "type": "string",
      "enum": [
        "heartbeat",
        "ci",
        "http"
      ],
      "description": "Monitor mode.  Omitted on responses when the value is the default `heartbeat`."
    },
    "probe_url": {
      "type": "string",
      "format": "uri",
      "description": "URL being probed (HTTP monitors only; omitted otherwise)."
    },
    "probe_method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "POST"
      ],
      "description": "HTTP method used for the probe (HTTP monitors only; omitted otherwise)."
    },
    "probe_expected_body": {
      "type": "string",
      "description": "Expected response body substring (HTTP monitors only; omitted otherwise)."
    },
    "probe_interval_s": {
      "type": "integer",
      "format": "int64",
      "description": "Probe interval in seconds (HTTP monitors only; omitted otherwise)."
    },
    "probe_expected_status": {
      "type": "integer",
      "format": "int32",
      "description": "Expected HTTP status code (HTTP monitors only; omitted otherwise)."
    },
    "probe_timeout_s": {
      "type": "integer",
      "format": "int32",
      "description": "Probe timeout in seconds (HTTP monitors only; omitted otherwise)."
    },
    "probe_follow_redirects": {
      "type": "boolean",
      "description": "Whether the probe follows redirects (HTTP monitors only; omitted otherwise)."
    },
    "next_probe_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "RFC 3339 UTC timestamp when the next probe is scheduled (HTTP monitors only; omitted otherwise)."
    },
    "ci_provider": {
      "type": "string",
      "enum": [
        "github",
        "gitlab",
        "jenkins"
      ],
      "description": "CI provider bound to this check (omitted when no CI binding is set)."
    },
    "ci_configured": {
      "type": "boolean",
      "description": "True when a CI binding is set on this check (omitted when false)."
    },
    "ci_webhook_url": {
      "type": "string",
      "format": "uri",
      "description": "Webhook URL for this CI check (omitted when no CI binding is set).\nPOST this URL from your CI provider with the `ci_secret` as the HMAC secret.\n"
    },
    "ci_secret": {
      "type": "string",
      "description": "**WRITE-ONCE** — returned ONLY in the `201` create response and the\n`POST /api/v1/checks/{id}/ci/regenerate` response.  NEVER returned on GET\nor list.  Copy it immediately; it cannot be retrieved again (use regenerate to rotate).\n"
    },
    "ci_workflow": {
      "type": "string",
      "description": "Optional workflow/job name filter narrowing which CI runs this check\nwatches (omitted when unset, which watches every workflow).\n"
    },
    "ci_branch": {
      "type": "string",
      "description": "Optional branch filter narrowing which CI runs this check watches\n(omitted when unset, which watches every branch).\n"
    },
    "ci_ignored": {
      "type": "object",
      "description": "Finished CI runs (succeeded or failed) that `ci_workflow` or\n`ci_branch` filtered out since the last finished run that matched\nthem, or since the filters last changed. Omitted when none were. A\ncount that keeps growing with no recent match usually means a\nfilter no longer matches anything, for example after a workflow\nrename or a default-branch change. A matching finished run and a\nchange to either filter both reset it. A repository webhook sends\nthe runs of every workflow, so with `ci_workflow` set, `count`\nincludes other workflows' runs, which the filter is meant to drop;\n`same_workflow_count` counts only the runs of `ci_workflow` (or of\nany workflow when it is not set) that `ci_branch` dropped.\n`new_workflow` names the workflow that first appeared among the\nignored runs since the last match and has run most often since,\nwhich is how a workflow renamed after it matched shows up (GitHub\nand Jenkins monitors; always empty on GitLab, which names an\nunnamed pipeline after its branch).\n`last_workflow`, `last_branch`, `same_workflow_last_branch` and\n`new_workflow` are copied from the CI provider's payload: treat\nthem as untrusted text.\n",
      "required": [
        "count",
        "last_at",
        "last_workflow",
        "last_branch",
        "last_matched_at",
        "filters_changed_at",
        "same_workflow_count",
        "same_workflow_last_at",
        "same_workflow_last_branch",
        "new_workflow",
        "new_workflow_first_at",
        "new_workflow_count"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Number of finished runs the filters ignored."
        },
        "last_at": {
          "type": "string",
          "format": "date-time",
          "description": "RFC 3339 UTC time the most recent ignored run arrived."
        },
        "last_workflow": {
          "type": "string",
          "description": "Workflow name of the most recent ignored run, as the CI provider sent it."
        },
        "last_branch": {
          "type": "string",
          "description": "Branch of the most recent ignored run, as the CI provider sent it."
        },
        "last_matched_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "RFC 3339 UTC time of the most recent finished run that matched the filters, or null when none has been recorded."
        },
        "filters_changed_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "RFC 3339 UTC time `ci_workflow` or `ci_branch` last changed, or null when that is not known."
        },
        "same_workflow_count": {
          "type": "integer",
          "format": "int32",
          "description": "Number of the ignored finished runs that belong to `ci_workflow` (every ignored run when no workflow filter is set): the runs the branch filter alone dropped. 0 when every ignored run was another workflow's."
        },
        "same_workflow_last_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "RFC 3339 UTC time the most recent of those runs arrived, or null when `same_workflow_count` is 0."
        },
        "same_workflow_last_branch": {
          "type": "string",
          "description": "Branch of the most recent of those runs, as the CI provider sent it; an empty string when `same_workflow_count` is 0."
        },
        "new_workflow": {
          "type": "string",
          "description": "Name of the workflow, other than `ci_workflow`, that first appeared after the last matching run and has the most ignored runs since (ties to the one that appeared first), as the CI provider sent it; an empty string when none did. A name first seen in the monitor's first 7 days of recording workflow names is never new. Always empty on GitLab monitors."
        },
        "new_workflow_first_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "RFC 3339 UTC time `new_workflow` first appeared, or null when `new_workflow_count` is 0."
        },
        "new_workflow_count": {
          "type": "integer",
          "format": "int32",
          "description": "Number of the ignored finished runs that carried `new_workflow`; 0 when no new workflow appeared."
        }
      }
    },
    "runaway_ceiling": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Maximum pings allowed in a rolling 1-hour window. Exceeding it opens a\n`runaway`-cause incident, which detects a looping agent or job pinging\nabnormally fast. Omitted from the response when disabled for this monitor.\n"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Labels attached to this monitor. Always returned as an array\n(never null); empty array when no tags are set.\n"
    },
    "agent_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Id of the agent that owns this monitor. Omitted/null when the\nmonitor is unattached — including right after its owning agent\nwas deleted: `DELETE /api/v1/agents/{id}` unowns the monitors it\nowned, it does not delete them.\n"
    },
    "source_kind": {
      "type": "string",
      "description": "The scanner that discovered this monitor (`crontab`,\n`github-actions`, `k8s-cronjob`, `systemd-timer`). **Omitted when\na human created the monitor**, which is the state of every monitor\nthat predates discovery — and such a monitor is never reconciled,\nso a scan can neither adopt nor delete it.\n"
    },
    "source_ref": {
      "type": "string",
      "description": "The stable path within `source_kind` that identifies exactly what\nwas found. Together with `source_kind` and the project it is the\ndiscovery reconcile key.\n\n`source_kind` and `source_ref` are always either both present or\nboth omitted: a half-set identity is never stored.\n"
    },
    "trace_content": {
      "type": "string",
      "enum": [
        "redacted",
        "dropped"
      ],
      "description": "What this monitor's traces keep of prompt, command and tool\ncontent. `dropped` (the default) removes the content attributes\n(prompts, completions, commands, tool arguments, results and\ndefinitions, retrieved documents, working directories) of every\nrecognised vocabulary entirely; lengths such as\n`user_prompt_length`, token counts and cost are kept. Error text\n(`error`, `error.message`, `exception.message`,\n`exception.stacktrace` and the span's status message) is kept at\n`dropped`, redacted and then cut to 512 characters, and a cut\nmarks the span or log event truncated. `redacted`\nopts in to storing that content, with every secret-shaped value\nreplaced by `[REDACTED:<class>]` at ingest, before anything is\nqueued or stored: API keys (LastPing, Anthropic, OpenAI, GitHub,\nGitLab, npm, AWS access key ids, Slack, Stripe, Google, Hugging\nFace, Perplexity, Fireworks, Supabase, New Relic, Airtable,\nTerraform Cloud, Firebase), HashiCorp Vault tokens, age secret\nkeys, Discord bot tokens, Slack, Discord and Teams webhook URLs,\n`Authorization` header values, JWTs, private key blocks,\n`password=`/`token=`/`api_key=` style assignments (subscripted\nones such as `os.environ[\"API_KEY\"] = ...` and Dockerfile\n`ENV`/`ARG` lines included), SQL `PASSWORD '...'` and\n`IDENTIFIED BY` clauses, the Redis `AUTH` command, `.netrc`\npasswords, command-line password flags and the argument after\nthem (any secret-named `--flag`, `-p` after a login subcommand,\n`redis-cli -a`), cookies, credentials in URLs, the value of any\nattribute or JSON field whose name is secret-named (password,\ntoken, api_key, secret, the same word in several other\nlanguages, an `Authorization` or `X-Api-Key` header and the\nlike; `Idempotency-Key` and request, correlation and trace ids\nare not secrets), including JSON carried inside another JSON\nstring such as tool-call arguments, and long high-entropy\ntokens. A bytes attribute that is valid UTF-8 is scanned and\nstored as its text. A span that had a value redacted carries\n`lastping.redacted_values`. A request whose\nredaction work exceeds a fixed budget stores\n`[REDACTED:over_budget]` for the values it could not scan, never\nthe values themselves. In both modes every remaining value is\nredacted the same way. There is no setting that stores content\nunredacted. A change reaches ingest within 60 seconds: ingest\ncaches each monitor's setting for up to a minute, so an export\nsent just after the change may still be handled the old way.\n\nAlways present.\n"
    },
    "kind": {
      "type": "string",
      "enum": [
        "cron",
        "ci",
        "agent",
        "http"
      ],
      "description": "The console's four-way grouping of this monitor, derived\nserver-side so every surface groups it the same way. `agent` wins\nover the rest: an agent's heartbeat is the agent's. A CI monitor\nis one with a `ci_provider`, **not** one with\n`monitor_type: \"ci\"` — nothing in the product writes that value.\n"
    },
    "uptime_90d": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "description": "Uptime over the last 90 days, or since the monitor was created if\nthat is more recent, as a percentage with two decimals. For an\nHTTP monitor this is the share of probes that succeeded; for every\nother type it is derived from incident downtime over the window.\nNull when an HTTP monitor has no probe history yet, and null for\nany other monitor that has never been pinged. A monitor created\nthree days ago reports on those three days, not on 90 days of\nassumed success, so the window varies per monitor and the console\nsays so beside the figure.\n"
    },
    "latency_ms": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "The most recent probe's latency. HTTP monitors only; null for every other type and for an HTTP monitor with no probe yet."
    },
    "routes_count": {
      "type": "integer",
      "description": "How many distinct alert destinations would hear about this monitor\nFAILING: the destinations routed on `down`, `fail`, `blocked` or\n`every-run`. Distinct destinations, not route rows, so one\ndestination routed on both `down` and `fail` is one place the\nalerts go. `every-run` counts because it fires for every completed\nrun, a failed one included. A route on `recovery`, `success`,\n`started` or `note` is not counted: routes are resolved\nper event with no fallback, and none of those four ever fires for\na failure, so a monitor routed only on them has nowhere for its\nbad news to go. 0 means failures would be silent, which the\nconsole flags as \"Not routed\" and Home counts in\n`overview.alerts.monitors_unrouted`.\n"
    },
    "recent_outcomes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "succeeded",
          "failed",
          "cancelled"
        ]
      },
      "description": "This monitor's last 20 run outcomes, newest first, for the\nconsole's run strip. Always an array, empty when the monitor has\nnot completed a run yet. Only terminal outcomes appear: a `start`\nsays a run began and is not one.\n"
    },
    "hook_version": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Version of the hook script last seen on a start ping (the tool is hook_tool); null when no hook that reports a version has sent a start. Older than hook_version_current means re-run set-up."
    },
    "hook_version_current": {
      "type": "integer",
      "description": "The hook script version set-up installs today for hook_tool (Claude Code when hook_tool is null). Compare it with hook_version."
    },
    "hook_seen_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When hook_version was last recorded, from a start ping. Refreshed at most once an hour while the version is unchanged. Null when no hook that reports a version has sent a start."
    },
    "claude_code_seen_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Latest time this monitor received a Claude Code run (a Claude Code hook start that reported a version, or a trace whose source is Claude Code). With hook_version null and a recent value here, the machine runs an older hook or none."
    },
    "hook_tool": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "claude-code",
        "codex",
        "antigravity",
        null
      ],
      "description": "The client the hook reported it runs in on its start ping, recorded with hook_version. A start with a version and no tool is a Claude Code hook's, recorded as claude-code. Null when no versioned start has been recorded since the field existed."
    },
    "ci_webhook_seen_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When a CI provider webhook delivery for this monitor, with a valid signature, last arrived. Null until the first, which can be the provider's own test delivery (GitHub's `ping`)."
    },
    "parent_monitor_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "readOnly": true,
      "description": "For a repository's monitor, the hook-fed agent monitor it was\nsplit from (for example \"Claude Code\"); null on every other\nmonitor. LastPing creates a repository's monitor on the first run\nfrom a git repository it has not seen, named\n\"<parent name> · <repo>\", with these parent settings as they are\nat that moment: alert routes, max_runtime_s, blocked_timeout_s,\nstep_timeout_s, runaway_ceiling, failure_threshold,\nnotify_min_run_s, tags, trace_content, the pause and\nmaintenance_until. Not copied: expect_every_s (the parent keeps\nit, and every repository's run counts as activity on the\nparent), assertions, metric guards and alert templates. After\nthat it is independent. A successful run on a repository's\nmonitor also ends an outage on the parent. Runs that name no\nrepository stay on the parent. Deleting the parent keeps its\nrepository monitors as standalone monitors, and this becomes\nnull.\n"
    },
    "repo": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "description": "The git repository whose runs this monitor holds: the name of the\nfolder that holds the repository (never a path), as the hook sent\nit, 1 to 64 characters. Null on a monitor that is not a\nrepository's. Plain text: render it as text, never as markup.\n"
    },
    "split_by_repo": {
      "type": "boolean",
      "description": "Whether runs from a hook (Claude Code, Codex, Antigravity) are\nfiled under one monitor per git repository, created on the first\nrun from each. True by default; false on a repository's own\nmonitor, which never splits. At most 20 repositories per monitor,\nand never past the project's monitor limit: a run beyond either\nstays here. Only on_demand monitors split.\n"
    },
    "repos": {
      "type": "object",
      "readOnly": true,
      "description": "Returned on one monitor (get, create, update), never in the\nlist, and only on a monitor that splits (split_by_repo true on a\nhook-fed on_demand monitor) or has repository monitors: the\nrepositories it has split into and whether a limit keeps runs\nfrom new repositories here.\n",
      "required": [
        "children",
        "limit",
        "repo_limit_reached",
        "monitor_cap_reached"
      ],
      "properties": {
        "children": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "monitor_id",
              "name",
              "repo",
              "state",
              "last_run_at",
              "spend_24h"
            ],
            "properties": {
              "monitor_id": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              },
              "repo": {
                "type": "string"
              },
              "state": {
                "type": "string",
                "enum": [
                  "up",
                  "late",
                  "down",
                  "paused"
                ]
              },
              "last_run_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "spend_24h": {
                "oneOf": [
                  {
                    "$ref": "#/$defs/AgentSpend"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        "limit": {
          "type": "integer"
        },
        "repo_limit_reached": {
          "type": "boolean",
          "description": "The monitor has split into `limit` repositories; runs from another repository stay on this monitor."
        },
        "monitor_cap_reached": {
          "type": "boolean",
          "description": "The project holds its monitor limit; runs from a repository with no monitor yet stay on this monitor."
        }
      }
    }
  },
  "$defs": {
    "AgentSpend": {
      "type": "object",
      "description": "24-hour cost/token/run rollup for one agent, over the traced runs\nof the checks it owns. See `Agent.spend_24h` and\n`AgentFleet.spend_24h` for when the containing field itself is\n`null` instead of this object.\n\nThe window is keyed on `last_span_at`, not `first_span_at`: a run\ncounts in full when its last span falls inside the trailing 24\nhours, so a long run's whole accumulated cost/tokens land on the day\nit ends, even though it may have started well before the window.\n",
    

# --- truncated at 32 KB (33 KB total) ---
# Full source: https://artifacts.apis.io/lastping-dev/json-schema/lastping-dev-check-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lastping-dev-check"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.