Documentation menu

Keybeat documentation

Keybeat runs your Playwright tests against your live site on a schedule, from several regions, and tells you when a key flow such as login, signup or checkout fails or gets slow.

It is API first and designed to be driven by AI coding agents. You can ask Claude Code (or another agent) to "monitor my checkout flow with Keybeat", and it can write the Playwright spec, test it locally, deploy it, and later read failures, logs and traces to tell you what broke.

Start here

  • Quickstart: sign up, write your first monitor and deploy it with the CLI.
  • Quickstart for agents: how Claude Code and other agents should set up and operate Keybeat.
  • Writing monitors: the rules a monitor spec must follow, secrets, TOTP logins and allowlisting.
  • Pricing: one free monitor, then $5 per month for the base plan.

Core concepts

ConceptWhat it is
MonitorOne Playwright Test spec file plus an interval, a name and a slug. Keybeat runs it on schedule.
RunOne execution of a monitor in one region. Has a status, step timings, logs and, on failure, a trace and screenshot.
RegionWhere a run executes: iad (US East), fra (EU West) or sin (Asia). Each scheduled run picks one at random.
IncidentA period when a monitor is down (failing) or slow. Opens and resolves automatically.
Alert channelWhere notifications go: email, a signed webhook, or SMS.
Status pageOne public page per organization at status.keybeat.dev/<slug>.
OrganizationMonitors, channels, keys and billing belong to an organization. Members are owner or member.

Run statuses

StatusMeaning
queued, starting, runningThe run is in progress.
passedEvery test in the spec passed.
failedA test failed or the run hit the 60 second limit. Scheduled failures are retried at once from another region before anyone is alerted.
errorInfrastructure trouble on Keybeat's side. Never counts as a monitor failure and never alerts you.

Monitor states

A monitor's state is unknown (no result yet), up or down. Its perf_state is normal or slow, based on an automatic per region baseline. See Alerts for exactly when these change.

Ways to use Keybeat

InterfaceBest forDocs
CLI (npx keybeat)Local testing, deploying monitors from a repo, CICLI reference
REST APIScripts and integrationsREST API
Remote MCP serverAgents that should inspect runs and manage monitorsMCP server
DashboardHumans: approvals, billing, channels, browsing runsapp.keybeat.dev

For agents reading this

Every docs page is available as plain markdown by adding .md to its URL, for example /docs/quickstart.md. The whole documentation is also available as one file at /llms-full.txt, with an index at /llms.txt.

What Keybeat does not do (in v1)

  • No plain HTTP or ping checks. Every check is a Playwright browser check.
  • Chromium only. No Firefox or WebKit.
  • No npm packages beyond @playwright/test and otpauth, and no multi file test suites.
  • No static IP addresses. Use the X-Keybeat-Token header to allowlist Keybeat traffic.
  • No monitoring of private networks, localhost or internal hosts.
  • No cloud runs of unsaved drafts. Test locally with npx keybeat test.