Skip to main content
The Rhombus CLI gives you direct terminal access to your entire Rhombus security platform — 60+ API resource categories, plus higher-level commands for video stitching, frame analysis, real-time alert monitoring, and AI-powered chat.

Install

brew install RhombusSystems/tap/rhombus

Authenticate

Profiles

Manage multiple accounts or environments with named profiles:
rhombus login --profile staging
rhombus camera get-minimal-camera-state-list --profile staging
Credentials are stored in ~/.rhombus/credentials (file permissions 600) and config in ~/.rhombus/config.

API Commands

62 resource commands are auto-generated from the Rhombus OpenAPI spec, covering the full API surface. The general pattern is:
rhombus <resource> <operation> [flags]

Common Examples

# List all cameras
rhombus camera get-minimal-camera-state-list

# Get detailed camera state
rhombus camera get-full-camera-state --camera-uuid YOUR_CAMERA_UUID

JSON Input for Complex Requests

For endpoints with complex request bodies, use --cli-input-json:
# Generate a parameter template
rhombus camera get-full-camera-state --generate-cli-skeleton

# Pass parameters as inline JSON
rhombus event get-policy-alerts-v2 --cli-input-json '{"maxResults": 10}'

# Pass parameters from a file
rhombus event get-policy-alerts-v2 --cli-input-json file://params.json
Use --generate-cli-skeleton on any command to see all accepted parameters as a JSON template.

Available Resources

The CLI covers 60+ resource categories including: access-control, alert-monitoring, audio-gateway, camera, climate, door-controller, doorbell-camera, elevator, event, event-search, export, face-recognition-person, integrations, location, lockdown-plan, occupancy, org, partner, permission, policy, report, rules, scene-query, schedule, search, sensor, user, vehicle, video, webhook-integrations, and more.

Higher-Level Commands

Beyond direct API access, the CLI provides several powerful composite commands.

Alert Management

# Recent alerts (filter by camera name)
rhombus alert recent --camera "Front Lobby" --max 10

# Download alert thumbnail
rhombus alert thumb ALERT_UUID --output thumb.jpg

# Download alert video clip
rhombus alert download ALERT_UUID --output clip.mp4

# Open alert clip in browser
rhombus alert play ALERT_UUID

Live Footage

# Open live view for a camera (by name)
rhombus footage "Front Lobby"

# Jump to a specific time
rhombus footage "Front Lobby" --start "5m ago"
rhombus footage "Front Lobby" --start 1711900800000
Starts a local HTTP server with an authenticated player and opens your browser.

Real-Time Alert Monitoring

# Stream policy alerts as they fire
rhombus monitor

# Include all event types (not just policy alerts)
rhombus monitor --all-events

# JSON output for piping to other tools
rhombus monitor --json
Connects via WebSocket (STOMP protocol) with automatic reconnection. Pipe --json output to jq for filtering:
rhombus monitor --json | jq 'select(.deviceName == "Lobby Camera")'

Video Stitching

Combine footage from multiple cameras into a single grid-layout video. Requires ffmpeg.
# Stitch events across cameras at a location
rhombus stitch --location "HQ" --start "2h ago" --end "1h ago"

# Specific cameras with buffer time
rhombus stitch --camera "Entrance" --camera "Lobby" --start "30m ago" --buffer 5
Creates an MP4 with timestamp overlays from events across selected cameras.

Frame Analysis

Extract intelligently-sampled frames with activity detection metadata — useful for ML pipelines.
# Analyze frames from an alert
rhombus analyze alert ALERT_UUID

# Analyze footage across cameras at a location
rhombus analyze footage --location "HQ" --start "1h ago" --end "30m ago"

# Include motion metadata, output raw frames
rhombus analyze footage "Lobby Cam" --start "2h ago" --include-motion --raw

Deployment Context

Generate a structured snapshot of your entire deployment — locations, cameras, hardware info, coordinates, and current stills.
# Full deployment snapshot
rhombus context generate

# Specific location or camera
rhombus context location "HQ"
rhombus context camera "Front Lobby"

AI Chat (Rhombus MIND)

Natural language interface to your Rhombus deployment. The chat agent can execute CLI commands on your behalf.
# Interactive chat
rhombus chat

# Voice-powered chat (requires sox and whisper-cpp)
rhombus voice --model base
Voice mode requires sox for audio capture and whisper-cpp for speech-to-text.

Global Flags

FlagDescription
--profileConfiguration profile (default: "default")
--outputOutput format: json, table, text (default: json)
--api-keyOverride API key for this command
--endpoint-urlOverride API endpoint URL
--partner-orgClient org name or UUID (for partner accounts)

Partner Accounts

For partner/multi-tenant organizations, use --partner-org to operate on client orgs:
rhombus camera get-minimal-camera-state-list --partner-org "Acme Corp"
rhombus camera get-minimal-camera-state-list --partner-org ORG_UUID
Name matching is case-insensitive and substring-based. If multiple orgs match, you are prompted to select one.

Environment Variables

VariableDescription
RHOMBUS_API_KEYAPI key (overrides credentials file)
RHOMBUS_PROFILEProfile name (default: default)
RHOMBUS_OUTPUTOutput format: json, table, text
RHOMBUS_ENDPOINT_URLAPI endpoint override

Configuration Files

PathPurpose
~/.rhombus/configDefault output format, endpoint URL (INI format)
~/.rhombus/credentialsAPI keys and cert paths per profile (INI, 600 permissions)
~/.rhombus/certs/<profile>/Client certificates and private keys
Configuration precedence: CLI flags > environment variables > profile config > defaults.

Platform Support

OSArchitectures
macOSamd64, arm64
Linuxamd64, arm64
Windowsamd64, arm64

Resources

GitHub Repository

Source code, releases, and issue tracker

API Reference

Full endpoint documentation for all 800+ API operations

WebSocket Monitoring

Real-time event streaming protocol details

Rate Limits

API rate limiting and retry guidance