CLI

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/cli

Quick 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 resources

Documentation

GuideDescription
AuthenticationLogin, contexts, and credential management
Resource OperationsCRUD operations on monitors, incidents, alerts, and more
Output FormatsJSON, table, and wide output modes
Scripting and CI/CDAutomation, environment variables, and pipeline usage
Command ReferenceComplete reference for all commands and options

Global Options

These flags can be used with any command:

FlagDescription
--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-colorDisable colored output
--helpShow command help
--versionShow CLI version

Getting Help

# General help
status200 --help

# Help for a specific command
status200 monitor --help
status200 monitor list --help