Code-First Monitoring With the Checkly CLI

The Checkly CLI empowers you with a Monitoring as Code (MaC) workflow that allows you to code your monitors and maintain them version-controlled. Adopt shift-left monitoring that supports your modern DevOps culture. Compatible with Playwright and Terraform.

new BrowserCheck('homepage-browser-check-1', {
  name: 'Browser Check #1',
  frequency: 10,
  regions: ['us-east-1', 'eu-west-1'],
  code: {
    entrypoint: './home.spec.js'

new ApiCheck('product-api-check-1', {
  name: 'Product API - fetch products',
  degradedResponseTime: 10000,
  maxResponseTime: 20000,
  requests: {
    url: "",
    method: "GET",
    assertions: [AssertionBuilder.statusCode().equals(200)]

Trusted By Engineering Teams At

Deno logoVercel logo1Password logoRender logoCrowdstrike logoAutodesk logoAutoTrader logo

Integrating the Checkly CLI in your CI/CD from pre-prod and production ensures the reliability and availability of your apps and services at scale.

Chrome logo

Add to cart




Opsgenie logo


Your entire monitoring workflow, defined as code in your existing code base.

Seamlessly integrate API monitoring into your E2E testing and monitoring regimen.

Fully harness the power of Playwright to validate the reliability of your web app with Checkly’s browser checks.

Store all monitoring resources in your Git repo, alongside your application code: just like the unit testing patterns you are familiar with.

Code, compose, and structure your monitoring resources using TypeScript. No YAML-engineering needed.

Use any CI platform to collaborate with your team to code, test, and deploy E2E browser and API checks.

Start monitoring your API endpoints and your vital site transactions.

Get started

*No credit card required