Status200 CLI
The Status200 CLI is a command-line interface for managing your Status200 resources directly from the terminal. It supports full CRUD operations on monitors, incidents, alerts, status pages, and more.
Features
- Multi-environment support with named contexts for production, staging, and development
- Auto-discovery of available resources from your Status200 instance
- Flexible authentication via CLI flags, environment variables, or saved contexts
- Smart output formatting with JSON, table, and wide display modes
- Scriptable for CI/CD pipelines and automation workflows
Installation
npm install -g @status200/cliQuick Start
# Authenticate with your Status200 instance
status200 login <your-api-key> https://status200.ru
# List your monitors
status200 monitor list
# View a specific incident
status200 incident get <incident-id>
# See all available resources
status200 resourcesDocumentation
| Guide | Description |
|---|---|
| Authentication | Login, contexts, and credential management |
| Resource Operations | CRUD operations on monitors, incidents, alerts, and more |
| Output Formats | JSON, table, and wide output modes |
| Scripting and CI/CD | Automation, environment variables, and pipeline usage |
| Command Reference | Complete reference for all commands and options |
Global Options
These flags can be used with any command:
| Flag | Description |
|---|---|
--api-key <key> | Override API key for this command |
--url <url> | Override instance URL for this command |
--context <name> | Use a specific named context |
-o, --output <format> | Output format: json, table, wide |
--no-color | Disable colored output |
--help | Show command help |
--version | Show CLI version |
Getting Help
# General help
status200 --help
# Help for a specific command
status200 monitor --help
status200 monitor list --help