Command reference
Every Supercheck CLI command, flag and exit codeEdit
Every command is supercheck <group> <command>. Run supercheck <command> --help for options.
| Group | Commands |
|---|---|
| Global flags | --json, --quiet, --wide, --show-secrets, … |
| Agent-first operation | skills, capabilities, schema config |
| Authentication | login, link, onboard, discover, plan, ci init, agent install, whoami, logout |
| Configuration | init, config validate, validate, config print |
| Jobs | job list/get/create/update/delete/run/trigger/keys |
| Runs | run list/get/permissions/status/wait/stream/cancel/delete, dashboard |
| Tests | test list/get/create/update/delete/tags/tag/validate/run/execute/status |
| Requirements | requirement list/get/create/update/delete/link/unlink/coverage/export |
| Monitors | monitor list/get/status/results/stats/create/update/delete/heartbeat-url, heartbeat ping |
| Variables, Tags | var list/get/set/upload/download/delete, tag list/create/delete |
| Analytics | analytics playwright/k6 |
| Tokens and projects | token list/create/enable/disable/revoke, project list/members |
| Notification providers | notification list/get/create/update/delete/test |
| Alerts and audit | alert history, audit |
| AI SRE | incident …, sre …, service … |
| Maintenance windows | maintenance list/get/create/update/end/extend/cancel/delete |
| Monitoring-as-Code | pull, diff, deploy, destroy |
| Utilities | health, locations, upgrade, doctor |
These commands need CLI 0.6.0 or later: heartbeat ping, monitor heartbeat-url, monitor --type heartbeat and --type mcp_server, --preset ai-endpoint, test create --type agent, notification test, incident create, incident resources, incident postmortem, incident policy and maintenance. Run supercheck --version to check yours.
Common tasks
| I want to | Run |
|---|---|
| Sign in | supercheck login |
| See what to do next in a repo | supercheck onboard |
| Run tests locally, no account | supercheck test run --offline --all |
| Preview and publish config | supercheck diff, supercheck deploy --dry-run, then supercheck deploy |
| Trigger a job from CI | supercheck job trigger <job-id> --wait |
| Check why a run failed | supercheck run get <run-id> |
| Check monitor health | supercheck monitor status <monitor-id> |
| Work an incident | supercheck incident list, supercheck sre ask "..." |
| Diagnose my setup | supercheck doctor |
Global flags
Available on all commands, before or after the subcommand, for example supercheck --json job trigger <job-id> --wait.
| Flag | Description |
|---|---|
--json | JSON output for scripting |
--envelope | Include pagination metadata with JSON list results; requires --json |
--show-secrets | Disable redaction of sensitive fields |
--quiet | Only IDs and errors |
--wide | Tables without width limits |
--no-color | Disable ANSI colors |
--debug | Debug logging |
-v, --version | Show version |
Config-aware commands (config, diff, deploy, pull, validate, destroy) also accept --config <path>.
Delete commands (job, test, monitor, run, requirement, var, tag, notification) and destroy need project admin or higher.
Exit codes
| Code | Meaning | Example |
|---|---|---|
0 | Success | Job completed |
1 | General error | Test failed, monitor down |
2 | Authentication error | Invalid or expired token |
3 | Configuration error | Missing config, invalid schema |
4 | Network or API error | API unreachable, 5xx |
5 | Timeout | Operation exceeded timeout, stream idle timeout |
130 | Interrupted | Ctrl+C during a stream |
An operation that needs confirmation exits 3 when declined or when input closes (ABORTED). In a non-interactive session it exits 3 with CONFIRMATION_REQUIRED. Review the plan, then pass --force to apply the authorized change.
validate exits 3 when the config lists no tests or resources at all, and test run --all exits 3 when it finds no local tests.
Agent-first operation
| Command | What it does | Key flags |
|---|---|---|
supercheck skills [topic] | Print the offline workflow index or a focused guide: onboarding, authoring, local, sync, configure, execute, ci, ship, safety, investigate. Bundled with the CLI version; no credentials | — |
supercheck skills install | Write a .agents/skills/supercheck/SKILL.md pointer. Existing files are kept unless --force | --path <directory>, --force |
supercheck capabilities | Report CLI version, local capabilities and whether credentials are present | --online |
supercheck schema config | Describe the installed configuration schema without loading repository code; the full structure with --json | --json |
--online verifies the API context with one request. It does not prove that every server feature is available or that the token may perform every operation.
Machine-readable plans and writes
diff --jsonanddeploy --dry-run --jsonreturn plans on stdout.- Successful deploys return per-resource results with server-assigned IDs and the state-file path.
pull --dry-run --jsondescribes the remote resources and config path it would write.- Other mutation
--dry-run --jsoncommands return the proposed request payload.
JSON errors on stderr carry a stable code to branch on, plus retryable and suggested nextActions where useful.
| Code | Meaning |
|---|---|
AUTH_REQUIRED | No credential; run supercheck login |
TOKEN_INVALID | Credential expired, revoked or rejected; run supercheck login --reauth |
PERMISSION_DENIED | Authenticated but not allowed (role or project) |
SUBSCRIPTION_REQUIRED | No active plan; a person must choose one in the dashboard |
SPENDING_LIMIT_REACHED | The organization's spending limit blocks execution |
RATE_LIMITED / SERVICE_UNAVAILABLE | Retryable |
VALIDATION_FAILED | The request was rejected as invalid |
CONFIRMATION_REQUIRED | A write needs --force |
PAYMENT_REQUIRED | The server answered 402 without a recognised reason; run supercheck plan |
AUTHORIZATION_PENDING | login without --json or a terminal started a browser login that is not approved yet (exit 2); approve it, then run login again |
DEVICE_CODE_DENIED, DEVICE_CODE_EXPIRED, DEVICE_CODE_CONSUMED, DEVICE_LOGIN_UNVERIFIED, TOKEN_LIMIT_REACHED | Browser-login outcomes |
CONTEXT_MISMATCH | The config's API URL, organization or project does not match the logged-in context; see supercheck link |
The CLI checks that the config's organization and project match the authenticated context before sync operations.
Deploy records returned IDs in supercheck.state.json. Share it with CI so later deploys manage the same resources, and do not commit the transient .lock file. Names alone do not establish ownership: pull an existing resource or set its explicit ID. Deploy does not rename local test files.
Authentication
| Command | What it does | Key flags |
|---|---|---|
supercheck login | Sign in through your browser, or store a CLI token | --token, --url, --reauth, --no-browser, --wait, --timeout |
supercheck link | Point supercheck.config.ts at the org and project you are logged in to | --dry-run, --force, --config <path> |
supercheck onboard | Read-only status of the current directory and the single next command | — |
supercheck discover | Bounded, read-only facts about the repository | --root <directory> |
supercheck plan | Show whether the organization has an active subscription | — |
supercheck ci init --github | Write .github/workflows/supercheck.yml | --path <file>, --force |
supercheck agent install | Install the Supercheck skill for a coding agent | --target, --path, --pointer, --force |
supercheck whoami | Show the authenticated project, role and token details | — |
supercheck logout | Clear stored credentials | — |
whoami prints User, Token, API URL, Project, Role, Expires and Last used when your role may view API keys. The organization appears only with --json. A project viewer cannot sign in with the CLI, so it cannot use whoami either.
Configuration
| Command | What it does | Key flags |
|---|---|---|
supercheck init | Create supercheck.config.ts and the _supercheck_/ folder | --force, --skip-install, --skip-examples, --pm <manager> (npm, pnpm, yarn, bun) |
supercheck config validate | Validate the configuration file schema | --offline |
supercheck validate | Validate local test scripts with the same rules as the Playground | — |
supercheck config print | Print the resolved configuration with environment variables expanded | --offline |
--offline validates or prints a local-only config without API credentials. Both modes need an existing config file; --offline skips cloud project identity checks. config print redacts sensitive provider values, including webhook URLs and config headers.
Jobs
| Command | What it does | Key flags |
|---|---|---|
job list | List jobs in the current project | --page (1), --limit (50) |
job get <job-id> | Get job details | — |
job create | Create a job | --name (required), --tests (required), --description, --type, --schedule, --dry-run |
job update <job-id> | Update a job | --name, --description, --schedule, --tests (replaces the test list), --dry-run |
job delete <job-id> | Delete a job with confirmation | --force |
job run | Run a job now, bypassing the cron schedule; --wait exits 1 on a failed run and 5 on timeout | --id, --local, --cloud, --offline, --playwright-config, --wait, --timeout (300, cloud only) |
job trigger <job-id> | Trigger a job with a trigger key, optionally wait | --wait, --timeout (300) |
job keys | List, create and delete trigger keys | create --name --expires-in <seconds> (min 60), delete |
supercheck job create --name "Nightly E2E" --tests <test-id> --schedule "0 2 * * *"
supercheck job run --id "Nightly E2E" --local --offline
supercheck job trigger <job-id> --wait --timeout 300
supercheck job keys <job-id>
supercheck --show-secrets job keys create <job-id> --name "CI Trigger" --expires-in 86400
supercheck job keys delete <job-id> <key-id>Runs
| Command | What it does | Key flags |
|---|---|---|
run list | List job runs. Runs of a test executed directly (test execute) are not listed; follow those with run get <runId> or --wait | --page, --limit, --job <job-id>, --status (queued, running, passed, failed, error, blocked) |
run get <run-id> | Get run details | — |
run permissions <run-id> | Get run access permissions | — |
run status <run-id> | Quick status check | — |
run wait <run-id> | Wait for an existing run to finish; never starts or retriggers a run | --timeout <seconds> (300) |
run stream <run-id> | Watch live console output | --idle-timeout (60, min 10) |
run cancel <run-id> | Cancel a running execution | Exits 4 when the stop signal could not be sent; the run may still be executing, so retry |
run delete <run-id> | Delete a run and its stored artifacts (active runs are refused) | --force |
dashboard | Project dashboard metrics (monitors, jobs, runs, queue) | — |
run stream returns a nonzero exit code for failed, cancelled, blocked or missing runs. Ctrl-C cancels the client stream. --idle-timeout is the number of seconds without data before it times out.
Analytics
| Command | What it does | Key flags |
|---|---|---|
analytics playwright | Historical Playwright job trends | --job <job-id>, --period (30, 60 or 90 days) |
analytics k6 | Historical k6 job trends | --job, --period, --left-run <run-id> --right-run <run-id> (compare two runs) |
Tests
| Command | What it does | Key flags |
|---|---|---|
test list | List tests | --page, --limit, --search (title), --type, --priority |
test get <test-id> | Get test details | --include-script |
test create | Create a test from a script file | --title, --file (both required), --type, --description, --priority, --dry-run |
test update <test-id> | Update a test | --title, --file, --type, --description, --priority, --dry-run |
test delete <test-id> | Delete a test with confirmation | --force |
test tags <test-id> | List tags for a test | — |
test tag add <test-id> <tags...> | Add tags (names or IDs), keeping existing tags | — |
test tag remove <test-id> <tags...> | Remove tags; unknown or unassigned tags are ignored | — |
test validate | Validate a script without creating it | --file, --type |
test run | Run tests locally | --file, --all, --type (browser, performance), --offline, --playwright-config |
test execute <test-id> | Execute one deployed test in the cloud; returns the run ID, or waits with --wait | --location <code>, --wait, --timeout (300) |
test status <test-id> | Stream live status events | --idle-timeout (60, min 10) |
Test types: browser, performance, api, database, custom, agent. Agent tests run only in the cloud, so test run refuses them. Priorities: low, medium, high.
supercheck test create --title "Homepage Check" --file ./_supercheck_/playwright/homepage-check.<id>.pw.ts --type browser
supercheck test run --all --type browser
supercheck test run --offline --file ./_supercheck_/playwright/homepage.pw.ts
supercheck test run --all --offline --playwright-config ./playwright.config.ts
supercheck test execute <test-id> --location us-east --waitUse supercheck test run --file <path> for local execution, or supercheck job trigger <id> for cloud execution.
Requirements
Requirements track what the product must do and which tests prove it. supercheck requirement (alias requirements) manages them from the terminal. To manage them as code, use requirements[] in supercheck.config.ts (Configuration).
| Command | What it does | Key flags |
|---|---|---|
requirement list | List requirements with coverage status | --search, --priority, --status (covered, failing, missing), --page (1), --page-size (50, max 500) |
requirement get <id> | Get a requirement with its tags, linked tests and coverage | — |
requirement create | Create a requirement | --title (required, 1-500 characters), --description, --priority, --tag, --external-id, --external-url, --test |
requirement update <id> | Update a requirement; only the flags you pass change | create flags, --clear-tags, --clear-tests |
requirement delete <id> | Delete a requirement with confirmation | --force |
requirement link <id> <test-ids...> | Link tests, keeping existing links (up to 100 per call) | — |
requirement unlink <id> <test-ids...> | Unlink tests | — |
requirement coverage [id] | Coverage for one requirement, or a count per coverage status | — |
requirement export | Export requirements as CSV to stdout or a file | --output <file>, --force |
supercheck requirement create --title "Users can reset their password" --priority high --tag auth,security --test <test-id>
supercheck requirement update <requirement-id> --tag auth --clear-tests
supercheck requirement export --output requirements.csv--tagand--testrepeat or take comma-separated values (up to 10 tags of 50 characters, and 100 tests). Onupdatethey replace the whole set.--clear-tagsand--clear-testsempty it and cannot be combined with them.- The server creates requirement tags that do not exist yet.
exportrefuses to overwrite a file unless you pass--force, never writes through a symbolic link and leaves the file readable only by you. With--jsonand no--output, it prints{ "format": "csv", "content": "..." }.
Extracting requirements from an uploaded document (PDF, DOCX, Markdown or TXT) with AI is available in the dashboard only. The CLI and MCP server do not upload documents.
Monitors
| Command | What it does | Key flags |
|---|---|---|
monitor list | List all monitors | --page, --limit |
monitor get <monitor-id> | Get monitor details | — |
monitor status <monitor-id> | Current status | — |
monitor results <monitor-id> | Recent check results | --page (1), --limit (20) |
monitor stats <monitor-id> | Performance statistics | — |
monitor create | Create a monitor | --name (required), --url, --type, and the options in the flag table |
monitor update <monitor-id> | Update a monitor | --name, --url, --interval-minutes, --every, --grace, --timeout, --method, --active, AI endpoint and MCP monitor options, --dry-run |
monitor delete <monitor-id> | Delete with confirmation | --force |
monitor heartbeat-url <monitor-id> | Show a heartbeat monitor's ping URL, or replace it | --rotate, --force |
heartbeat ping <url> | Send one ping from a cron job or script; no login needed | --start, --fail |
supercheck monitor create --name "API Health" --url https://api.example.com/health --type http_request --interval-minutes 5
supercheck monitor create --name "TLS port" --type port_check --url example.com --port 443
supercheck monitor create --name "Browser journey" --type synthetic_test --test-id <test-uuid>
supercheck monitor create --name "OpenAI chat" --url https://api.openai.com/v1/chat/completions --preset ai-endpoint --model gpt-4o-mini --secret OPENAI_API_KEY
supercheck monitor create --name "Docs MCP" --type mcp_server --url https://mcp.example.com/mcp --secret MCP_TOKEN --require-tool search_docs --require-tool get_page
supercheck monitor create --name "Docs MCP call" --type mcp_server --url https://mcp.example.com/mcp --call-tool search_docs --call-args '{"query":"ping"}' --expect result
supercheck monitor create --name "Nightly backup" --type heartbeat --every 1d --grace 1h
supercheck monitor update <monitor-id> --interval-minutes 1 --active falseVariables
| Command | What it does | Key flags |
|---|---|---|
var list | List project variables | — |
var get <key> | Get a variable by key | — |
var set <key> <value> | Create or update a variable | --secret, --value-stdin (read the value from stdin, max 1 MB), --description |
var upload <key> <file> | Create a file variable (.csv, .json, .txt, .tsv, .xml, .yaml, .yml; max 5 MB) | --description |
var download <key> | Print a file variable's content, or save it to a new file (owner-only permissions on macOS and Linux) | --out <path>, --force (overwrite) |
var delete <key> | Delete a variable | --force |
--secret encrypts the value. Prefer --value-stdin for secrets so they stay out of shell history and process arguments:
printf '%s' "$API_KEY" | supercheck var set API_KEY --secret --value-stdin
supercheck var upload TEST_DATA ./users.csvTags
| Command | What it does | Key flags |
|---|---|---|
tag list | List tags | — |
tag create <name> | Create a tag (3-20 characters of letters, numbers, underscores and hyphens) | --color (for example "#3B82F6") |
tag delete <id> | Delete a tag | --force |
Notification providers
notifications is an alias for notification.
| Command | What it does | Key flags |
|---|---|---|
notification list | List providers, with each channel's health (ok, auth_failed, failing, unknown) from its latest delivery in the past 7 days | — |
notification get <id> | Get provider details | — |
notification create | Create a provider | --type, --name (both required), --payload, --routing-key-stdin (PagerDuty) |
notification update <id> | Update a provider | --name, --type, --payload, --routing-key-stdin (PagerDuty) |
notification delete <id> | Delete a provider | --force |
notification test <id> | Send a test through a saved channel; webhooks and paging services get a test page with dedup key test:<id> and the receiver's HTTP status | --resolve (close the test page) |
notification test | Test an unsaved configuration | --type, --payload (one payload option required) |
Types: email, slack, webhook, telegram, discord, teams, pagerduty. --payload is a JSON object; --data and --config are aliases. --type pagerduty creates a PagerDuty Events API v2 channel (a webhook with the pagerduty preset, as in the app) and takes no --payload. Give it the integration's routing key in the PAGERDUTY_ROUTING_KEY environment variable, or pipe it in with --routing-key-stdin. The key is never accepted as an argument and is masked in output (--show-secrets prints it). notification update <id> --type pagerduty replaces the saved key the same way, which rotates it. notification list shows the preset, so a PagerDuty channel reads webhook / pagerduty. The other paging presets are set up in the app; the CLI can list and test those channels.
| Type | Required payload keys |
|---|---|
email | emails (comma-separated or an array) |
slack | webhookUrl |
webhook | url |
telegram | botToken and chatId |
discord | discordWebhookUrl |
teams | teamsWebhookUrl |
supercheck notification create --type slack --name "Slack Alerts" \
--payload '{"webhookUrl":"https://hooks.slack.com/..."}'
supercheck notification create --type pagerduty --name "On call" --routing-key-stdin < routing-key.txt
supercheck notification test <id> --resolveAlerts and audit
alerts is an alias for alert.
| Command | What it does | Key flags |
|---|---|---|
alert history | View alert history | --page (1), --limit (50) |
audit | View audit logs (admin only) | --page (1), --limit (20), --search (by action), --action (filter by action type) |
Tokens and projects
| Command | What it does | Key flags |
|---|---|---|
token list | List the project's CLI tokens | — |
token create <name> | Create a CLI token; the key is shown once, so this needs the global --show-secrets flag and rejects --quiet | --expires-in <days> (1-365; never past the expiry of the token you are using) |
token enable <id> / token disable <id> | Enable or disable a token | — |
token revoke <id> | Permanently revoke a token | --force |
project list | List projects visible to the token | — |
project members [projectId] | List members and roles of a project (default: the current one) | — |
Tokens are project-scoped, so project list shows only the token's project. Changing members, invitations and project creation rejects CLI tokens. So does deleting, restoring and cancelling the deletion of an organization or project. These are dashboard-only and CLI tokens receive 403.
While an organization is scheduled for deletion it is read-only. Reads work, and every write fails with 403 and code ORG_PENDING_DELETION. The CLI exits 4 and prints the server's answer under Details. With --json the error is PERMISSION_DENIED with details.code set to ORG_PENDING_DELETION. The owner can cancel the deletion in the dashboard.
AI SRE
AI SRE commands use the active project from the CLI token and follow your role's permissions. Plural aliases incidents and services work too.
| Command | What it does | Key flags |
|---|---|---|
incident list | List incidents (status label, assignee and acknowledgement shown) | --status, --severity, --assignee me|unassigned|<user-id> |
incident get <ref> | Get an incident | — |
incident timeline <ref> | Incident timeline; reminders, escalations and failed pages are one line each | — |
incident create (alias declare) | Declare an incident by hand | --title (required), --severity, --service, --affected-service, --monitor, --summary, --commander, --status-page, --component, --impact (none, minor, major, critical; default minor), --message, --notify (the last three need --status-page) |
incident resources <ref> | List the services and monitors an incident affects; change them with the flags | --add-service, --remove-service, --add-monitor, --remove-monitor |
incident postmortem <ref> | Print the post-mortem as markdown (--json returns the sections too) | — |
incident policy get | Show the project's incident policy (reminders and escalation) | — |
incident policy set | Change reminders and escalation; omitted flags are kept | --first-reminder <min|off>, --repeat <min|off>, --max <1-10>, --escalate-after <min|off>, --escalate-channel <id>, --escalate-member <user-id> |
incident assign <ref> | Assign the incident, or its commander, to a project editor or admin | --user <user-id|me> (required), --commander |
incident unassign <ref> | Clear the assignee (or commander) | --commander |
incident ack <ref> | Acknowledge an incident | — |
incident resolve <ref> | Resolve with a required summary | --summary (--comment is an alias), --force |
sre triage <ref> | Classify an incident | — |
sre investigate <ref> | Start an asynchronous deep investigation | --live-connectors |
sre brief <ref> | Stream an evidence brief | --idle-timeout |
sre ask "<question>" | Ask Copilot (read-only) | --incident <ref>, --live-connectors, --idle-timeout |
sre status <runId> | Show one triage or investigation run's status; it does not wait | — |
service list/get/health/dependencies | Read-only service catalog; needs sre_service:view | — |
<ref> is the number shown by incident list or a UUID. Numbers resolve within the CLI token's project and are not row positions. Use incident list --json to see UUIDs. Manual triage and investigations need a configured AI provider. On Supercheck Cloud they also need a paid plan and a valid billing customer; the free trial covers them. 503 feature_disabled means an operator turned the feature off.
Incidents
supercheck incident list --status investigating --severity sev1
supercheck incident list --assignee me
supercheck incident resolve <incident-number-or-uuid> --summary "Traffic restored after rollback"
supercheck incident create --title "Checkout errors reported by customers" --severity sev2 \
--service "Checkout API" --monitor <monitor-uuid> --summary "Support reports 500s at payment"
supercheck incident resources <incident-number-or-uuid> --add-service "Checkout API" --remove-monitor <monitor-uuid>
supercheck incident create --title "Login outage" --severity sev1 \
--status-page <status-page-uuid> --component <component-uuid> --impact major --message "We are investigating." --notifyincident create opens an incident with the same notifications and reminders as one opened by an alert.
- Only
--titleis required.--severitydefaults tosev3. --servicetakes a UUID or the exact service name, and that service's owner becomes the assignee.- Each
--monitorand--affected-serviceis listed as affected: its next alert joins this incident instead of opening a new one. --commandertakesmeor a user UUID.--status-pagewith at least one--componentalso posts a public incident. Subscribers are emailed only with--notify. If the public post fails, the incident is still created and the command warns.- Declaring needs editor access or above. Rate limits are in Incidents.
The Status column shows the display label (Triggered, Acknowledged, Investigating, Fixing, Monitoring, Resolved), also returned as statusLabel with --json. --status filters on stored values: open (every incident that is not resolved), triggered, investigating, identified, recommendations_ready, user_applying_fix, verifying, resolved.
Resolving prompts for confirmation and stores the summary in the incident timeline and audit log. Use --force only in reviewed automation.
supercheck incident policy set --first-reminder 15 --repeat 60 --max 3
supercheck incident policy set --escalate-after 30 --escalate-member <user-id>
supercheck incident policy set --first-reminder off --escalate-after offincident policy set needs project update permission. Minutes are 5 to 1,440 and the reminder schedule must finish within two days. Turning reminders off also clears the repeat. Turning escalation off clears its target. The escalation channel cannot be a paging service. See Default policy.
Maintenance windows
During a window monitors keep running, but alerts, incidents and reminders are muted and uptime leaves it out. See Maintenance windows.
| Command | What it does | Key flags |
|---|---|---|
maintenance list | List windows | --state active|scheduled|past, --monitor <id>, --service <id> |
maintenance get <id> | Show one window | — |
maintenance create | Schedule a window | --title, --start "YYYY-MM-DD HH:MM", --duration (required); scope --project, --service, --monitor (pick one, repeatable); --description, --timezone, --repeat daily|weekly|monthly, --days mon,thu, --day 1-28|last, --until YYYY-MM-DD, --status-page + --component, --notify |
maintenance update <id> | Change a window; only the flags you pass change | --title, --description, a scope flag, --start, --duration, --timezone, --repeat once|daily|weekly|monthly, --days, --day, --until YYYY-MM-DD|none |
maintenance end <id> | End an active window now | — |
maintenance extend <id> | Extend an active window (never shortens it) | exactly one of --by 30m or --to <ISO 8601 date-time>; no offset means local time |
maintenance cancel <id> | Cancel a scheduled window, or the rest of a recurring one | — |
maintenance delete <id> | Delete a window that is not active | --force |
--start is the local start in --timezone (default: your machine's zone). On update, --start without --timezone uses the window's zone. A one-off window can show on a status page with --status-page <id> --component <id>, set at create only.
supercheck maintenance create --title "DB upgrade" --monitor <monitor-uuid> \
--start "2026-11-20 02:00" --duration 90m --timezone Europe/Berlin
supercheck maintenance extend <window-uuid> --to 2026-11-20T04:00:00ZTriage and investigation
supercheck sre triage <incident-number-or-uuid>
supercheck sre investigate <incident-number-or-uuid> --live-connectors
supercheck sre brief <incident-number-or-uuid> --idle-timeout 120
supercheck sre status <runId>Deep investigation is asynchronous: a successful command returns an accepted investigation-run ID. Follow it with incident get, incident timeline or sre status <runId>. --live-connectors enables configured read-only telemetry tools and needs the sre_connector:investigate permission. Without it the request is rejected with 403.
Copilot
supercheck sre ask "Why did checkout latency increase?"
supercheck sre ask "Check current telemetry" --incident <incident-number-or-uuid> --live-connectorsCopilot is read-only. Use an incident your token can access, and add --live-connectors only with connector investigation permission. --idle-timeout sets stream inactivity (minimum 10 seconds). Ctrl-C cancels the client stream. Global --json emits NDJSON events. Streamed errors and AI-provider unavailability return a nonzero exit code for Copilot and evidence briefs.
Service catalog
service list, service get <service-id>, service health <service-id> and service dependencies <service-id> are read-only and need sre_service:view.
Monitoring-as-Code
| Command | What it does | Key flags |
|---|---|---|
pull | Pull remote resources into local config and files | --dry-run, --force, --tests-only, --config-only, --skip-install (skip dependency install when initializing a project) |
diff | Preview changes between local config and server state | --delete |
deploy | Push configuration to the API | --dry-run, --delete, --no-delete, --force, --verify, --verify-timeout <seconds> |
destroy | Tear down all managed resources defined with IDs in the local config, including notification providers, requirements and status pages | --dry-run, --force |
supercheck pull --dry-run
supercheck diff
supercheck deploy --dry-run
supercheck deploy --force --verify # then run each created or updated browser test once in the cloud
supercheck destroy --dry-runWith resources to remove, supercheck destroy needs --force to delete them or --dry-run to preview; otherwise it exits 3 with CONFIRMATION_REQUIRED. With no managed resources it prints No managed resources found on the remote project. and exits 0.
diff and deploy keep remote resources that are absent from config. Use diff --delete to preview pruning, then deploy --delete to apply it. Pruning includes resources created outside this config, and removes components absent from a declared list. It never deletes a resource whose type, alert severity, status or priority this CLI version does not know, or a test with no script; pull skips such a resource, and --delete keeps it with a warning, together with what it uses: a kept job's tests, and its tags. --force skips the confirmation prompt. Keep test scripts as editable source files and review supercheck diff before deploying.
Utilities
| Command | What it does | Key flags |
|---|---|---|
health | Check API health | --url |
locations | List available execution locations | — |
upgrade | Upgrade the CLI to the latest release | --tag <tag> (default latest, or a version), --package-manager <pm> (npm, pnpm, yarn, bun), -y, --yes, --dry-run (preview the command) |
doctor | Check dependencies and configuration | --strict, --fix |