Quick links
Chimlet home

Documentation

Chimlet home

Read current state

Read the monitoring lifecycle, observed health, reporting coverage, and schedule of one check.

GET/api/v1/checks/{id}/stateJump to request example

Request example

Request
curl --fail-with-body --request GET \
  --url "$CHIMLET_BASE_URL/api/v1/checks/$CHIMLET_CHECK_ID/state" \
  --header "Authorization: Bearer $CHIMLET_SESSION_TOKEN" \
  --header "Workspace-Id: $CHIMLET_WORKSPACE_ID"

Response example

Response
200 OK
{
  "check_id": "01KJ4CM00R37VJ4C5JJAK3ZMRT",
  "lifecycle": "waiting",
  "health": "unknown",
  "coverage": "not_expected",
  "monitoring_generation": 1,
  "deadline_at": null,
  "latest_observation": null
}

Authentication

Account bearer token with workspace.read and Workspace-Id

Authentication overview

Usage notes

  • The example is a waiting heartbeat that has yet to receive a signal.
  • Heartbeat state includes deadline_at. Probe state includes next_probe_at, probe_deadline_at, and confirming_since.
  • Test probes do not replace the latest scheduled observation.