Tools & SDKs
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
- Install
- Authenticate
- Profiles
- EU region
- API commands
- Common examples
- JSON input for complex requests
- Available resources
- Higher-level commands
- Alert management
- Live footage
- Real-time alert monitoring
- Video stitching
- Frame analysis
- Deployment context
- AI chat (Rhombus MIND)
- Global flags
- Partner accounts
- Environment variables
- Configuration files
- Platform support
- Resources
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.
Contact us for onboarding help, demos, or additional learning resources.
Install
brew install RhombusSystems/tap/rhombuscurl -fsSL https://raw.githubusercontent.com/RhombusSystems/rhombus-cli/main/install.sh | shOn Linux, this automatically uses .deb or .rpm packages when a compatible package manager is detected.
irm https://raw.githubusercontent.com/RhombusSystems/rhombus-cli/main/install.ps1 | iexRequires Go 1.26+:
git clone https://github.com/RhombusSystems/rhombus-cli.git
cd rhombus-cli
make installAuthenticate
rhombus loginOpens 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.
rhombus configurePrompts for an API key, output format, region (us/eu), and endpoint URL. Use this when you already have an API key from the Rhombus Console.
export RHOMBUS_API_KEY=YOUR_API_KEYOverrides stored credentials. Useful for CI/CD pipelines and scripts.
Profiles
Manage multiple organizations or regions with named profiles:
rhombus login --profile eu-org
rhombus camera get-minimal-camera-state-list --profile eu-orgCredentials 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:
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# List all doors
rhombus door-controller get-doors-for-org
# Grant access to a door
rhombus door-controller grant-access --door-uuid YOUR_DOOR_UUID# List recent policy alerts
rhombus event get-policy-alerts-v2
# Get alert details with bounding boxes
rhombus event get-policy-alert-details --alert-uuid YOUR_ALERT_UUID# List locations
rhombus location get-locations
# List users in your org
rhombus user get-users-in-orgJSON 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.jsonUse --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
# 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_UUIDLive 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 1711900800000Starts 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 --jsonConnects 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:
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 5Creates 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 --rawDeployment 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 baseVoice mode requires sox for audio capture and whisper-cpp for speech-to-text.
Global flags
| Flag | Description |
|---|---|
--profile | Configuration profile (default: "default") |
--output | Output format: json, table, text (default: json) |
--api-key | Override API key for this command |
--endpoint-url | Override API endpoint URL (EU orgs: https://api2.eu.rhombussystems.com) |
--partner-org | Client 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_UUIDName matching is case-insensitive and substring-based. If multiple orgs match, you are prompted to select one.
Environment variables
| Variable | Description |
|---|---|
RHOMBUS_API_KEY | API key (overrides credentials file) |
RHOMBUS_PROFILE | Profile name (default: default) |
RHOMBUS_OUTPUT | Output format: json, table, text |
RHOMBUS_ENDPOINT_URL | API endpoint override (EU orgs: https://api2.eu.rhombussystems.com) |
Configuration files
| Path | Purpose |
|---|---|
~/ | Default output format, endpoint URL (INI format) |
~/ | OAuth tokens, API keys and cert paths per profile (INI, 600 permissions) |
~/ | Client certificates and private keys (certificate profiles) |
Configuration precedence: CLI flags > environment variables > profile config > defaults.
Platform support
| OS | Architectures |
|---|---|
| macOS | amd64, arm64 |
| Linux | amd64, arm64 |
| Windows | amd64, arm64 |
Resources
Source code, releases, and issue tracker
Full endpoint documentation for all 1,000+ API operations
Real-time event streaming protocol details
API rate limiting and retry guidance