Features
- Incidents: Full CRUD operations with filtering by status, severity, and more
- Alerts: Create, acknowledge, and resolve alerts with source tracking
- Services & Teams: Manage your service catalog and team structure
- On-Call: Query schedules, view shifts, and see who is on-call right now
- Pulses: Track events and wrap command execution with automatic pulse recording
- Multiple Output Formats: Table, JSON, YAML, and Markdown
- TTY-Aware Output: Table format in terminal, JSON when piped
- Shell Completions: Bash, Zsh, Fish, and PowerShell
- Pagination & Filtering: Server-side filtering with paginated results
Installation
Using Homebrew (macOS/Linux)
Using Go
Download Binary
Download the latest release from GitHub Releases. Available for Linux (amd64/arm64), macOS (Intel/Apple Silicon), and Windows (amd64).Quick Start
-
Set your API key:
-
List your incidents:
-
Get incident details:
Configuration
Set your API token via environment variable or config file:~/.rootly-cli/config.yaml:
Getting an API Key
- Log in to your Rootly account
- Navigate to Settings > API Keys
- Create a new API key with appropriate permissions
Commands
Incidents
Alerts
Services
Teams
On-Call
Pulses
pulse run variant automatically captures the wrapped command’s exit code as a label (exit_status).
Output Formats
The CLI supports multiple output formats via the--format flag:
Pagination & Filtering
Global Flags
Shell Completions
Generate shell completion scripts for tab-completion support:Feedback & Support
- Issues: GitHub Issues
- Source Code: GitHub Repository