Dwellir CLI
The Dwellir CLI (dwellir) gives you full access to the Dwellir platform from the command line. Authenticate, manage API keys, discover 150+ blockchain endpoints, monitor usage, and inspect error logs -- all without leaving your terminal.
It is built for three audiences:
- Developers who prefer terminal workflows over a web dashboard
- CI/CD pipelines that need to provision and rotate API keys automatically
- AI agents that consume structured JSON output
Quick start#
# Install
curl -fsSL https://raw.githubusercontent.com/dwellir-public/cli/main/scripts/install.sh | sh
# Authenticate
dwellir auth login
# List your API keys
dwellir keys list
# Discover Ethereum endpoints
dwellir endpoints search ethereum
Also available via Homebrew, AUR, go install, or from source.
Output modes#
Every command supports multiple output modes:
--human-- formatted tables and key-value displays (default in interactive terminals)--json-- JSON wrapped in a standard{ok, data, meta}envelope for scripting and automation--toon-- experimental TOON format (structured text)
When stdout is not a terminal (e.g., piped to another command or run in CI), the CLI automatically outputs JSON. Use --human to force human-readable output in non-interactive environments.
dwellir keys list --json
JSON responses use a consistent envelope:
{
"ok": true,
"data": { ... },
"meta": {
"command": "keys.list",
"timestamp": "2026-02-26T12:00:00Z"
}
}
Errors return ok: false with an error code, message, and optional help text, plus a non-zero exit code.
Command overview#
| Command | Description |
|---|---|
dwellir auth | Login, logout, check status, print tokens |
dwellir keys | Create, list, update, enable, disable, and delete API keys |
dwellir endpoints | Browse and search 150+ blockchain endpoints |
dwellir usage | View billing-cycle summary, usage by endpoint/method, costs, and RPS |
dwellir logs | Inspect error logs, stats, and facet aggregations |
dwellir account | View organization info and subscription details |
dwellir docs | List, search, and fetch Dwellir documentation as markdown |
dwellir config | Get and set CLI configuration values |
dwellir completion | Generate or install shell completions (bash, zsh, fish, powershell) |
dwellir update | Self-update to the latest release |
dwellir version | Print build and version metadata |
Global flags#
These flags work on every command:
| Flag | Description |
|---|---|
--json | Output as JSON (auto-selected when stdout is not a terminal) |
--human | Output as human-readable tables (default in interactive terminals) |
--toon | Output as TOON format (experimental) |
--profile <name> | Use a specific auth profile |
-q, --quiet | Suppress non-essential output |
--anon-telemetry | Anonymize telemetry data |
Run dwellir --help or dwellir <command> --help for full usage details.
Next steps#
- Installation -- five ways to install the CLI
- Authentication -- browser login, CI tokens, and profiles
- API Keys -- create and manage keys
- Endpoints -- discover blockchain networks
- Usage & Logs -- monitor requests and debug errors
- Configuration -- profiles, environment variables, and per-project settings
- Agent Tooling -- migration prompt, agent skills, and documentation endpoints for AI agents