Integration
Manage your monitors without leaving the terminal. Create, pause, and check status with simple commands. Works in shell scripts, Makefiles, and CI/CD pipelines.
$ pingbase monitors list
ID NAME STATUS UPTIME
mon_abc123 Production API UP 99.97%
mon_def456 Website UP 100.0%
mon_ghi789 Admin panel DOWN 98.2%
$ pingbase monitors pause mon_abc123
Paused mon_abc123 (Production API)
Global install
npm install -g pingbase-cli
pingbase config set api-key YOUR_KEY
No install (npx)
npx pingbase-cli monitors list
# or set env var:
PINGBASE_API_KEY=xxx npx pingbase-cli status
| Command | What it does |
|---|---|
| pingbase monitors list | List all monitors with status, uptime %, and last check time |
| pingbase monitors create --url URL | Create a new HTTP monitor |
| pingbase monitors status ID | Full details for one monitor including response time history |
| pingbase monitors pause ID | Pause a monitor (stops checks and alerts) |
| pingbase monitors resume ID | Resume a paused monitor |
| pingbase monitors delete ID | Delete a monitor permanently |
| pingbase channels list | List configured alert channels |
| pingbase channels add --type slack | Add a Slack, Discord, or webhook alert channel |
| pingbase config set api-key KEY | Save your API key to ~/.pingbase/config.json |
The CLI works on all plans including free. Get your API key in Settings → API Keys after signing up.
Start free →Full setup guide: /guides/cli