Supercheck LogoSupercheck

Command Reference

Complete reference for all Supercheck CLI commandsEdit

Global Flags

These flags are available on all commands. Place them before the subcommand (they are root-level Commander options):

supercheck --json job trigger <job-id> --wait
supercheck --quiet whoami
FlagDescription
--jsonOutput in JSON format (for CI/CD scripting)
--quietSuppress non-essential output (only IDs and errors)
--debugEnable debug logging
-v, --versionShow version

Config-aware commands (for example config, diff, deploy, pull, validate, destroy) accept --config <path> to point at a specific config file.

For sre ask and sre brief, global --json produces newline-delimited JSON (NDJSON), one event per line.

Exit Codes

CodeMeaningExample
0SuccessJob completed successfully
1General errorTest failed, monitor down
2Authentication errorInvalid token, expired token
3Configuration errorMissing config, invalid schema
4Network / API errorAPI unreachable, 5xx response
5TimeoutOperation exceeded timeout

Authentication

supercheck login

Authenticate with a CLI token.

supercheck login --token <token>
supercheck login --token <token> --url https://supercheck.yourdomain.com
FlagRequiredDescription
--token <token>NoCLI token (sck_live_* or sck_test_*). Without it, the CLI prints token-creation instructions.
--url <url>NoAPI base URL for self-hosted

The token is verified against the API before being stored locally.

supercheck whoami

Display the current authentication context.

supercheck whoami

Shows user, token name, API URL, and expiry.

supercheck logout

Clear stored credentials.

supercheck logout

Configuration

supercheck init

Initialize a new project with supercheck.config.ts and _supercheck_/ folder.

supercheck init
supercheck init --force              # Overwrite existing config
supercheck init --skip-install       # Skip dependency installation
supercheck init --skip-examples      # Skip example test files
supercheck init --pm pnpm            # Use specific package manager
FlagDescription
--forceOverwrite existing config files
--skip-installSkip automatic dependency installation
--skip-examplesSkip generating example test files
--pm <manager>Package manager to use (npm, pnpm, yarn, bun)

supercheck config validate

Validate the configuration file schema.

supercheck config validate

supercheck validate

Validate local test scripts using the same rules as Playground.

supercheck validate

supercheck config print

Print the resolved configuration with environment variable expansion.

supercheck config print

Jobs

supercheck job list

List all jobs in the current project.

supercheck job list
supercheck job list --page 2 --limit 10
FlagDefaultDescription
--page1Page number
--limit50Items per page

supercheck job get

Get job details.

supercheck job get <job-id>

supercheck job create

Create a new job.

supercheck job create --name "Nightly E2E" --tests <test-id> --schedule "0 2 * * *"
supercheck job create --name "Smoke Tests" --tests id1,id2 --type k6 --dry-run
FlagRequiredDescription
--nameYesJob name
--testsYesTest IDs (space or comma separated)
--descriptionNoJob description
--typeNoJob runner type: playwright or k6
--scheduleNoCron expression
--dry-runNoPreview what would be sent without creating

Job --type selects the runner. Test --type uses API types: browser, performance, api, database, custom.

supercheck job update

Update job configuration.

supercheck job update <job-id> --name "Updated Name"
supercheck job update <job-id> --schedule "0 3 * * *" --dry-run
FlagDescription
--nameJob name
--descriptionJob description
--scheduleCron expression
--dry-runPreview what would be sent without updating

Job status is runtime state, not configuration. Use job run, job trigger, or the dashboard/scheduler to affect execution state.

supercheck job delete

Delete a job with confirmation.

supercheck job delete <job-id>
supercheck job delete <job-id> --force    # Skip confirmation

supercheck job run

Run a job immediately, bypassing the cron schedule.

supercheck job run --id <job-id>
supercheck job run --id <job-id> --local     # Run locally
supercheck job run --id <job-id> --cloud     # Run in the cloud

supercheck job trigger

Trigger a job and optionally wait for completion.

supercheck job trigger <job-id>
supercheck job trigger <job-id> --wait --timeout 300
supercheck --json job trigger <job-id> --wait
FlagDescription
--waitWait for the run to complete
--timeoutMaximum wait time in seconds (default: 300)

supercheck job trigger requires SUPERCHECK_TRIGGER_KEY. If you also use --wait, set SUPERCHECK_TOKEN so the CLI can poll the run after triggering it.

supercheck job keys

Manage trigger keys for a job.

# List keys for a job
supercheck job keys <job-id>

# Create a new trigger key
supercheck job keys create <job-id> --name "CI Trigger"
supercheck job keys create <job-id> --name "Temp Key" --expires-in 86400

# Revoke a trigger key
supercheck job keys delete <job-id> <key-id>

Runs

supercheck run list

List job runs with optional filters.

supercheck run list
supercheck run list --job <job-id> --status failed --limit 20
FlagDescription
--pagePage number
--limitItems per page
--jobFilter by job ID
--statusFilter by status (queued, running, passed, failed, error, blocked)

supercheck run get

Get run details.

supercheck run get <run-id>

supercheck run permissions

Get run access permissions.

supercheck run permissions <run-id>

supercheck run status

Quick status check for a run.

supercheck run status <run-id>

supercheck run stream

Stream live console output from a running execution via SSE.

supercheck run stream <run-id>
supercheck run stream <run-id> --idle-timeout 120
FlagDefaultDescription
--idle-timeout60Seconds to wait before timing out if no data received (min: 10)

supercheck run cancel

Cancel a running execution.

supercheck run cancel <run-id>

Tests

supercheck test list

List tests with optional search and type filters.

supercheck test list
supercheck test list --search "checkout" --type browser
FlagDescription
--pagePage number
--limitItems per page
--searchSearch by title
--typeFilter by type (browser, performance, api, database, custom)

supercheck test get

Get test details.

supercheck test get <test-id>
supercheck test get <test-id> --include-script

supercheck test create

Create a new test from a script file.

supercheck test create --title "Homepage Check" --file ./_supercheck_/playwright/homepage-check.<id>.pw.ts --type browser
FlagRequiredDescription
--titleYesTest title
--fileYesPath to test script
--typeNobrowser, performance, api, database, custom
--descriptionNoTest description
--dry-runNoPreview what would be sent without creating

supercheck test update

Update a test.

supercheck test update <test-id> --title "Updated Title" --file ./updated-script.pw.ts
supercheck test update <test-id> --type api --dry-run
supercheck test update <test-id> --description "New description" --dry-run
FlagDescription
--titleTest title
--filePath to updated test script
--typeTest type (browser, performance, api, database, custom)
--descriptionTest description
--dry-runPreview what would be sent without updating

supercheck test delete

Delete a test with confirmation.

supercheck test delete <test-id>
supercheck test delete <test-id> --force

Use supercheck test run --file <path> for local execution, or supercheck job trigger <id> for cloud execution.

supercheck test tags

List tags for a test.

supercheck test tags <test-id>

supercheck test validate

Validate a test script without creating it.

supercheck test validate --file ./_supercheck_/playwright/homepage-check.<id>.pw.ts --type browser

supercheck test run

Run tests locally.

supercheck test run --file ./_supercheck_/playwright/homepage-check.<id>.pw.ts
supercheck test run --all --type browser
supercheck test run --all --type performance
FlagDescription
--filePath to a local test file to run
--allRun all local tests
--typeFilter by local test type (browser, performance)

supercheck test status

Stream live status events for a test.

supercheck test status <test-id>
supercheck test status <test-id> --idle-timeout 120
FlagDefaultDescription
--idle-timeout60Seconds to wait before timing out if no data received (min: 10)

Monitors

supercheck monitor list

List all monitors.

supercheck monitor list
supercheck monitor list --page 2 --limit 10

supercheck monitor get

Get monitor details.

supercheck monitor get <monitor-id>

supercheck monitor status

Get current monitor status (quick view).

supercheck monitor status <monitor-id>

supercheck monitor results

Get recent check results.

supercheck monitor results <monitor-id>
supercheck monitor results <monitor-id> --page 2 --limit 20
FlagDefaultDescription
--page1Page number
--limit20Results per page

supercheck monitor stats

Get performance statistics.

supercheck monitor stats <monitor-id>

supercheck monitor create

Create a new monitor.

supercheck monitor create --name "API Health" --url https://api.example.com/health --type http_request --interval-minutes 5
supercheck monitor create --name "Website" --url https://example.com --dry-run
FlagRequiredDefaultDescription
--nameYesMonitor name
--urlYesURL to monitor
--typeNohttp_requesthttp_request, website, ping_host, port_check, synthetic_test
--interval-minutesNo5Check interval in minutes (1–1440)
--timeoutNo30Request timeout in seconds
--methodNoGETHTTP method (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS)
--dry-runNoPreview what would be sent without creating

The --interval flag (seconds) is deprecated. Use --interval-minutes instead.

supercheck monitor update

Update a monitor.

supercheck monitor update <monitor-id> --interval-minutes 1 --active false
supercheck monitor update <monitor-id> --name "Updated" --method POST --dry-run
FlagDescription
--nameMonitor name
--urlURL to monitor
--interval-minutesCheck interval in minutes (1–1440)
--timeoutRequest timeout in seconds
--methodHTTP method
--activeEnable or disable (true/false)
--dry-runPreview what would be sent without updating

The --interval flag (seconds) is deprecated. Use --interval-minutes instead.

supercheck monitor delete

Delete a monitor with confirmation.

supercheck monitor delete <monitor-id>
supercheck monitor delete <monitor-id> --force

Variables

supercheck var list

List project variables.

supercheck var list

supercheck var get

Get a variable by key name.

supercheck var get <key>

supercheck var set

Create or update a variable.

supercheck var set <key> <value>
supercheck var set API_KEY sk-secret-value --secret
printf '%s' \"$API_KEY\" | supercheck var set API_KEY --secret --value-stdin
supercheck var set DB_URL postgres://... --description "Database connection string"
FlagDescription
--secretMark as secret (value will be encrypted)
--value-stdinRead the value from stdin instead of the command line
--descriptionVariable description

Prefer --value-stdin for secrets so they do not end up in shell history or process arguments.

supercheck var delete

Delete a variable by key name.

supercheck var delete <key>
supercheck var delete <key> --force
FlagDescription
--forceSkip confirmation

Tags

supercheck tag list

List tags.

supercheck tag list

supercheck tag create

Create a tag.

supercheck tag create <name>
supercheck tag create <name> --color "#3B82F6"

supercheck tag delete

Delete a tag.

supercheck tag delete <id>
supercheck tag delete <id> --force    # Skip confirmation
FlagDescription
--forceSkip confirmation prompt

Notification Providers

notifications is an alias for notification.

supercheck notification list

List notification providers.

supercheck notification list

supercheck notification get

Get provider details.

supercheck notification get <id>

supercheck notification create

Create a notification provider.

supercheck notification create --type slack --name "Slack Alerts" \
  --payload '{"webhookUrl":"https://hooks.slack.com/..."}'
FlagRequiredDescription
--typeYesemail, slack, webhook, telegram, discord, teams
--nameYesProvider name
--payloadNoProvider configuration as a JSON object
--dataNoAlias for --payload
--configNoLegacy alias for --payload

supercheck notification update

Update a notification provider.

supercheck notification update <id> --name "Updated Name" --payload '{...}'
supercheck notification update <id> --type webhook --payload '{...}'
FlagDescription
--nameProvider name
--typeProvider type
--payloadJSON configuration object (replaces the entire config; include all fields)
--dataAlias for --payload
--configLegacy alias for --payload

When a provider has secret fields (for example webhook URLs or API keys), the CLI never merges your input with masked values from the server. If you omit the payload, only --name and --type are updated and existing secrets are preserved.

supercheck notification delete

Delete a notification provider.

supercheck notification delete <id>
supercheck notification delete <id> --force

supercheck notification test

Send a test notification to verify configuration.

supercheck notification test --type slack --payload '{"webhookUrl":"https://hooks.slack.com/..."}'
FlagRequiredDescription
--typeYesProvider type (email, slack, webhook, telegram, discord, teams)
--payloadYes*Provider configuration as a JSON object
--dataYes*Alias for --payload
--configYes*Legacy alias for --payload

*Supply exactly one payload option.


Alerts & Audit

alerts is an alias for alert.

supercheck alert history

View alert history.

supercheck alert history
supercheck alert history --page 2 --limit 20
FlagDefaultDescription
--page1Page number
--limit50Results per page

supercheck audit

View audit logs (admin only).

supercheck audit
supercheck audit --page 2 --limit 50 --action "notification_provider_created"
supercheck audit --search "deploy"
FlagDefaultDescription
--page1Page number
--limit20Items per page
--searchSearch by action
--actionFilter by action type

AI SRE

AI SRE commands use the active project from the CLI token and preserve the same tenant and RBAC boundaries as the dashboard.

The plural aliases incidents and services are also supported.

Incidents

supercheck incident list --status investigating --severity sev1
supercheck incident get <incident-id>
supercheck incident timeline <incident-id>
supercheck incident resolve <incident-id> --comment "Traffic restored after rollback"

Resolution prompts for confirmation and stores the required comment in the incident timeline and audit log. Use --force only in reviewed automation.

Triage and investigation

supercheck sre triage <incident-id>
supercheck sre investigate <incident-id>
supercheck sre investigate <incident-id> --live-connectors
supercheck sre brief <incident-id>
supercheck sre brief <incident-id> --idle-timeout 120

Deep investigation is asynchronous: a successful command returns an accepted investigation-run ID. Follow progress with incident get and incident timeline. --live-connectors enables configured read-only telemetry tools only when the caller also has sre_connector:investigate permission.

Copilot

supercheck sre ask "Why did checkout latency increase?"
supercheck sre ask "Summarize the strongest evidence" --incident <incident-id>
supercheck sre ask "Check current telemetry" --incident <incident-id> --live-connectors

Copilot is read-only. The server validates project scope, incident ownership, permissions, feature flags, plan limits, and rate limits. --idle-timeout controls stream inactivity (minimum 10 seconds). Ctrl-C cancels the client stream. Global --json emits NDJSON events for automation.

Service catalog

supercheck service list
supercheck service get <service-id>
supercheck service health <service-id>
supercheck service dependencies <service-id>

These commands are read-only and require sre_service:view.


Monitoring-as-Code

supercheck pull

Pull remote resources into local config and files. Config pulls include monitors, jobs, notification providers, variables, tags, and status pages; test pulls also write test scripts under _supercheck_/.

supercheck pull
supercheck pull --dry-run
supercheck pull --force
supercheck pull --tests-only
supercheck pull --config-only

supercheck diff

Preview changes between local config and server state. Notification provider changes include nested config fields such as webhook bodyTemplate.

supercheck diff

supercheck deploy

Push configuration to the Supercheck API, including notification provider config and webhook body templates.

supercheck deploy
supercheck deploy --dry-run      # Preview without applying
supercheck deploy --no-delete    # Skip deletions
supercheck deploy --force        # Skip confirmation

--force skips the confirmation prompt. Test scripts are sanitized and stored as UTF-8 source through the API's Base64 transport format, not as precompiled output or generated sourcemap data.

supercheck destroy

Tear down all managed resources defined with IDs in the local config, including notification providers.

supercheck destroy --dry-run      # Preview resources to be deleted
supercheck destroy --force        # Confirm and delete resources

Note: supercheck destroy requires --force to confirm deletion, or --dry-run to preview. Bare supercheck destroy errors without --force.


Utilities

supercheck health

Check API health.

supercheck health
supercheck health --url https://supercheck.yourdomain.com

supercheck locations

List available execution locations.

supercheck locations

supercheck upgrade

Upgrade the CLI to the latest release.

supercheck upgrade
supercheck upgrade --tag <version>       # Install a specific version
supercheck upgrade --package-manager pnpm  # Use specific package manager
supercheck upgrade --dry-run               # Preview without installing
supercheck upgrade -y                      # Skip confirmation
FlagDescription
--tag <tag>Release target to install (default: latest, accepts explicit versions)
--package-manager <pm>Package manager to use (npm, pnpm, yarn, bun)
-y, --yesSkip confirmation prompt
--dry-runPreview the upgrade command without executing

supercheck doctor

Check that all dependencies and configuration are set up correctly.

supercheck doctor
supercheck doctor --fix    # Auto-install Playwright browsers; prints install hints for other deps

The doctor command checks:

  • Node.js — runtime availability
  • @playwright/test — npm package for browser tests
  • Playwright browsers — chromium binary for local test execution
  • k6 — binary for performance/load tests (optional)
  • Authentication — whether a valid token is stored
  • Configuration — whether supercheck.config.ts exists and is valid

With --fix, doctor installs missing Playwright browsers automatically. For @playwright/test and k6, it prints the install command to run manually.

On this page