Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.
VariableRequiredDescription
CHECKLY_API_KEYYesCheckly user API key Docs.
CHECKLY_ACCOUNT_IDYesCheckly account ID (sent as the X-Checkly-Account header) Docs.

Setup

  1. Sign up for Checkly: Create a free account at https://app.checklyhq.com (the free Hobby plan includes API access) and create at least one check.
  2. Create an API key: Go to User Settings → API keys (https://app.checklyhq.com/settings/user/api-keys), create a key, and add it to your .env as CHECKLY_API_KEY.
  3. Copy your account ID: Find the account ID under Account Settings → General and add it as CHECKLY_ACCOUNT_ID.
  4. Verify access: Run List Checks, then List Check Statuses.
  • Every request needs both ‘Authorization: Bearer <api key>’ and the ‘X-Checkly-Account: <account id>’ header
  • Raw check results are kept for 30 days, and a results query window (from/to) may span at most 6 hours
  • Check results use the newer /v2 path; checks and statuses use /v1
Provider API reference: https://www.checklyhq.com/docs/api-reference/overview/

Tools

ToolAccessDescription
List ChecksReadList API and browser checks in the account
Get CheckReadGet a check’s full configuration
List Check ResultsReadList raw results for a check within a time window (from/to must be at most 6 hours apart)
List Check StatusesReadGet the current status of every check in the account
Get Check StatusReadGet the current status of a single check

Example prompts

  • List my Checkly check statuses and tell me which checks are currently failing or degraded.
  • Get the results with failures for my main Checkly check over the last 6 hours and summarize the errors.