Quick links
Chimlet home

Documentation

Chimlet home

Update a check

Change the name, paused status, or configuration of an existing check. Use its latest ETag.

PATCH/api/v1/checks/{id}Jump to request example

Request example

Request
curl --fail-with-body --include --request PATCH \
  --url "$CHIMLET_BASE_URL/api/v1/checks/$CHIMLET_CHECK_ID" \
  --header "Authorization: Bearer $CHIMLET_SESSION_TOKEN" \
  --header "Workspace-Id: $CHIMLET_WORKSPACE_ID" \
  --header "If-Match: $CHIMLET_ETAG" \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "paused": true
}
JSON

Response example

Response
200 OK
{
  "id": "01KJ4CM00R37VJ4C5JJAK3ZMRV",
  "name": "Public API",
  "type": "http",
  "config": {
    "url": "https://example.com/",
    "method": "GET",
    "interval_seconds": 300,
    "timeout_seconds": 10,
    "grace_seconds": 0,
    "has_request_body": false,
    "expected_status": null
  },
  "paused": true,
  "plan_held": false,
  "created_at": "2026-12-01T09:00:00Z",
  "updated_at": "2026-12-01T09:06:00Z"
}
Response headers
Headers
ETag: "check-config-01KJ4CM00R37VJ4C5JJAK3ZMRV-2"

Authentication

Account bearer token with checks.manage and Workspace-Id

Authentication overview

Request fields

Request fields and headers

If-MatchheaderRequired
The strong ETag from the latest check configuration response, including quotes.
namestring
A name of 1 to 160 UTF-8 bytes.
pausedboolean
True pauses the check. False requests active monitoring.
configobject
Supply config fields to replace. Omitted top-level config fields retain their values.

Usage notes

  • A missing If-Match returns 428. A stale or weak validator returns 412. Read configuration again before retrying.
  • Set CHIMLET_ETAG to the quoted ETag value returned by a configuration read.
  • Probe results and heartbeat signals leave the configuration ETag unchanged.