Skip to content

CLI

The beeps CLI lets you manage relays, schedules, alerts, and integrations directly from the command line — or define your entire on-call setup as code.

Terminal window
npm install -g @beepsdev/cli

The CLI needs one environment variable:

VariableRequiredDescription
BEEPS_API_KEYYesYour API key from organization settings (looks like bk_xxxxxxxx)
Terminal window
export BEEPS_API_KEY="bk_your_api_key_here"
Terminal window
beeps schedule on-call --schedule-id sch_abc123
Terminal window
beeps alert list --active
Terminal window
beeps alert resolve --alert-id alt_abc123
Terminal window
beeps relay list
Terminal window
beeps relay simulate --relay-id rly_abc123 --simulate-at 2025-03-01T00:00:00Z
Terminal window
beeps relay export -o beeps.config.ts # export current setup
beeps relay plan -f beeps.config.ts # preview changes
beeps relay apply -f beeps.config.ts # apply changes

All commands support --json for machine-readable output and --help for usage info.