Quick links
Chimlet home

Documentation

Chimlet home

Issue or rotate a heartbeat key

Issue a bearer key for one heartbeat check. Save the secret from the response.

POST/api/v1/checks/{id}/signal-keyJump to request example

Request example

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

Response example

Response
201 Created
{
  "check_id": "01KJ4CM00R37VJ4C5JJAK3ZMRT",
  "secret": "<CHIMLET_SIGNAL_KEY>"
}

Authentication

Account bearer token with checks.manage and Workspace-Id

Authentication overview

Usage notes

  • Send an empty request body.
  • Issuing a new key immediately replaces the previous key for this check. Update the job or service that sends the signal.
  • This key only sends signals for its bound check. Use an account bearer token to read configuration, state, or history.