Send a heartbeat
Report from a job or service with its heartbeat key. An empty body reports success.
Request example
curl --fail-with-body --request POST \
--url "$CHIMLET_BASE_URL/api/v1/checks/$CHIMLET_CHECK_ID/signals" \
--header "Authorization: Bearer $CHIMLET_SIGNAL_KEY"More request examples
curl --fail-with-body --request POST \
--url "$CHIMLET_BASE_URL/api/v1/checks/$CHIMLET_CHECK_ID/signals" \
--header "Authorization: Bearer $CHIMLET_SIGNAL_KEY" \
--header "Idempotency-Key: $CHIMLET_IDEMPOTENCY_KEY" \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"status": "failure",
"message": "Backup failed"
}
JSONResponse example
202 Accepted
{
"id": "01KJ4CM00R37VJ4C5JJAK3ZMRW",
"check_id": "01KJ4CM00R37VJ4C5JJAK3ZMRT",
"status": "success",
"received_at": "2026-12-01T09:00:00Z"
}Response headers
Location: /api/v1/checks/01KJ4CM00R37VJ4C5JJAK3ZMRT/logs/01KJ4CM00R37VJ4C5JJAK3ZMRWAuthentication
Bearer key issued for this heartbeat check
Authentication overviewRequest fields
Optional JSON body and headers
statusstring- success (default) or failure.
messagestring- Context up to 2,048 UTF-8 bytes, without NUL characters.
Idempotency-Keyheader- 1–128 printable ASCII characters. Reuse the same key for a retry of the same logical signal.
Workspace-Idheader- Optional. If supplied, it must match the workspace bound to the heartbeat key.
Usage notes
- Set CHIMLET_IDEMPOTENCY_KEY to a value unique to the logical signal when using the example with Idempotency-Key.
- A replay within 24 hours with the same key and payload returns the original receipt without extending the deadline. Changed content returns 409.
- The first success or failure starts a waiting heartbeat. Later success signals move the deadline forward.