Quick links
Chimlet home

Documentation

Chimlet home

API reference

Sign in, manage workspaces and checks, and send heartbeat signals through the Chimlet REST API.

Authentication and workspace access

Set CHIMLET_BASE_URL to your Chimlet server’s origin, without a trailing slash. API paths start with /api/v1. Use the token described by each endpoint.

Account sessions

Sign in with an email and password and save the returned access_token as CHIMLET_SESSION_TOKEN. Send it in the Authorization: Bearer header.

Send Workspace-Id for workspace-scoped operations. Find the ID by listing your workspaces.

The archived notifications preview used a source-bound credential. See the endpoint reference for details about older deployments.

Endpoints

Pagination

Check lists, logs, and events return data and next_cursor. Pass a non-null next_cursor as cursor on the next request and keep the same filters and order. A null cursor means you have reached the end.

JSON
{
  "data": [],
  "next_cursor": null
}

The default limit is 50. You can request 1–100 results per page. Logs default to newest first, events to oldest first. These endpoints accept order=asc and order=desc.

Unknown or duplicate query parameters and malformed cursors return ERR-1027.

Error responses

Errors use application/problem+json and a stable problem code. The status matches the HTTP response. When present, docs_url links to the error’s documentation. Keep X-Request-Id when investigating a failed request; it also appears in the problem’s instance.

Problem details
{
  "type": "urn:chimlet:problem/ERR-1025",
  "title": "Precondition required",
  "status": 428,
  "detail": "Send the current ETag in the If-Match header.",
  "code": "ERR-1025",
  "instance": "/problem-occurrences/<request-id>",
  "docs_url": "https://docs.chimlet.app/api/errors/err-1025/"
}

Validation failures can include field locations and explanations in evidence.violations. Check the code and the affected field before retrying.

Browse all API error codes
Common API errors
StatusCodeWhat to do
400ERR-1022Workspace context requiredSend exactly one Workspace-Id header with an ID from your workspace list.
400ERR-1023Workspace context mismatchLet the heartbeat key select its workspace by omitting the optional header, or set the header to the key’s workspace ID.
400ERR-1029Invalid idempotency keySend a single value containing 1 to 128 printable ASCII characters. Omit the header if you do not need a replayable receipt.
400ERR-1033Invalid preconditionCopy the full ETag from the configuration response, including its quotes.
401ERR-1005Authentication requiredUse the credential type listed by the endpoint. Sign in again for a new account session if needed.
403ERR-1021Access deniedUse an authorized account or the endpoint’s required scoped key. Ask a workspace owner to check your role if you expect access.
404ERR-1011Check not foundConfirm the workspace and select a current check ID. For a heartbeat request, use a key authorized for that check.
404ERR-1017Workspace not foundList workspaces with the same account and use an ID returned in that list.
404ERR-1036Check log not foundList the logs for the same check and use an ID from that response.
409ERR-1028Idempotency conflictFor a new event, send a new key. To retry the original event, reuse its key with the original payload, credential, and check.
409ERR-1045Check is pausedResume the check, then send the signal or start the deadline again.
409ERR-1046Check is already armedRead the check state to see the current deadline.
409ERR-1047Check type does not support this actionUse HTTP, TLS, DNS, or TCP for Run test. Use a Heartbeat check for creating a heartbeat key or starting a deadline.
409ERR-1120Active check limit reachedPause another active check or choose a plan with room before activating this one.
409ERR-1123Check is held by the workspace planSelect this check for active monitoring within the plan limit before retrying.
412ERR-1024Precondition failedRead the latest configuration. Review intervening changes before updating or deleting with its ETag. For a diagnostic, rerun it against the current check configuration.
422ERR-1002Validation failedRead evidence.violations to find the affected field. Compare its value with the endpoint schema before retrying.
422ERR-1027Invalid queryUse the documented filters and page size. Copy a cursor from the preceding response with the same filters.
422ERR-1122Probe interval is too shortSet the probe interval to at least the minimum shown for the current workspace plan.
428ERR-1025Precondition requiredRead the current configuration and copy its ETag verbatim into If-Match.
503ERR-1041Diagnostic probe unavailableWait briefly and rerun the diagnostic. A completed probe returns its outcome in the diagnostic response.