Skip to content

Rhombus CLI

Manage cameras, doors, alerts, sensors, and your entire Rhombus deployment from the command line — stitch video, monitor alerts, and chat with AI tooling.

On this page

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

bash
brew install RhombusSystems/tap/rhombus

Authenticate

bash
rhombus login

Opens your browser to sign in with Rhombus (OAuth) and stores an access token and a refresh token for the profile. The CLI refreshes the access token itself, and no API key is created. If the sign-in expires or is revoked, run rhombus login again.

EU organizations add --region eu (--region us|eu); the region is saved on the profile. Partner accounts are detected at sign-in; rhombus login --partner skips that check.

Profiles set up with an API key or a certificate keep working.

Profiles

Manage multiple organizations or regions with named profiles:

bash
rhombus login --profile eu-org
rhombus camera get-minimal-camera-state-list --profile eu-org

Credentials are stored in ~/.rhombus/credentials, which the CLI sets to file permissions 600. Config goes in ~/.rhombus/config, which holds no keys and keeps your default file permissions.

EU region

If your organization is in the EU region, run rhombus login --region eu, or run rhombus configure and answer eu at the Region (us/eu) prompt. The CLI derives the EU endpoint (https://api2.eu.rhombussystems.com) automatically and uses the matching EU sign-in, token and WebSocket hosts. For one-off overrides, use the --endpoint-url flag or the RHOMBUS_ENDPOINT_URL environment variable.

API commands

67 resource commands are auto-generated from the Rhombus OpenAPI spec, covering the full API surface. The general pattern is:

bash
rhombus <resource> <operation> [flags]

Common examples

bash
# 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:

bash
# 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
Tip

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 has several composite commands.

Alert management

bash
# 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

bash
# 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

bash
# 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, to the EU WebSocket host for EU profiles. With --partner-org, it sends the client organization in the x-auth-org header. Pipe --json output to jq for filtering:

bash
rhombus monitor --json | jq 'select(.deviceName == "Lobby Camera")'

Video stitching

Combine footage from multiple cameras into a single grid-layout video. Requires ffmpeg.

bash
# 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.

bash
# 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.

bash
# 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.

bash
# Interactive chat
rhombus chat

# Voice-powered chat (requires sox and whisper-cpp)
rhombus voice --model base

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 (EU orgs: https://api2.eu.rhombussystems.com)
--partner-orgClient org name or UUID (for partner accounts)

Partner accounts

For partner/multi-tenant organizations, use --partner-org to operate on client orgs:

bash
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 (EU orgs: https://api2.eu.rhombussystems.com)

Configuration files

PathPurpose
~/.rhombus/configDefault output format, endpoint URL (INI format)
~/.rhombus/credentialsOAuth tokens, API keys and cert paths per profile (INI, 600 permissions)
~/.rhombus/certs/<profile>/Client certificates and private keys (certificate profiles)

Configuration precedence: CLI flags > environment variables > profile config > defaults.

Platform support

OSArchitectures
macOSamd64, arm64
Linuxamd64, arm64
Windowsamd64, arm64

Resources