Skip to content
logmast

Agent documentation

Configure and report checks

Manage expected signals without inventing availability or executing tests.

API v1 · Updated 2026-11-10View MarkdownSource manifest

Contract version: v1. Requires the target catalog’s checks capability. Checks represent assertions made by an application; Logmast receives results and detects missing expected signals.

Choose the smallest useful signal

  • Heartbeat: the application reached a deliberate liveness point.
  • Job completion: the scheduled operation completed successfully; a start signal is insufficient.
  • Named verification: the application executed a specific business or integration assertion and reports pass/fail.

Choose the service/environment and a descriptive name. Use an interval of at least 60 seconds plus an explicit grace period. Only named verification may omit the interval for ad hoc results. Do not invent an availability percentage from these observations.

Configure with management authority

Read GET /api/v1/workspaces/{workspace}/checks. Submit action: check to the existing control endpoint with the schema in OpenAPI. Persist the intended definition UUID before creation. Creation is not generally replay-idempotent: after uncertainty, read the list and reconcile the same ID/content before retrying.

Updates, pause/resume, and archive require the current revision. A conflict means reload and reconcile the user’s intent, not blindly overwrite newer configuration. Pausing and reconfiguration close the prior attention episode without proving recovery; resume starts a new observation window.

Report with service ingest authority

Persist one run_id, observed_at, and immutable result before POST /api/v1/ingest/check-ins. Retry unchanged after uncertain outcomes. Require a non-nil receipt_id and boolean duplicate/applied fields. A duplicate is free; changed content under the same run identity conflicts for 90 days.

Interpret applied: false as accepted history/identity only. A paused, stale, reordered, or expired-deadline signal cannot establish present liveness. Optional occurrence references must identify retained evidence in the same service/environment. Never send raw error payloads in check metadata.

Interpret and hand off

Read current status and retained transition/attention history. Distinguish never_received, current, failed, overdue, paused, monitoring_unavailable, and evidence_expired. Ad hoc current means the last retained verification passed, not ongoing health. Include the observation and receipt times.

Inactive coverage, exhausted check allowance, and evaluator delay concern monitoring, not proof of an application outage. Acknowledgment marks review; only a fresh pass proves recovery. Do not add remote URL probes, hosted test execution, a metrics store, or an on-call workflow as part of a check integration.

Search documentation

Search guides, contracts, and agent playbooks.

Search runs in your browser over public documentation.