Install
openclaw skills install outlit-cliUse when running Outlit CLI commands, setting up Outlit for AI agents, authenticating with Outlit, querying customer data from the terminal, or troubleshooti...
openclaw skills install outlit-cliCustomer intelligence from the terminal. Install: npm i -g @outlit/cli
All commands support --help for full option details.
| Command | Purpose |
|---|---|
outlit auth login | Store API key (interactive or --key for CI) |
outlit auth logout | Remove stored key |
outlit auth status | Validate current key |
outlit auth whoami | Print masked key (for scripting) |
outlit auth signup | Open signup in browser |
outlit customers list | List/filter customers with risk signals |
outlit customers get <id|domain> | Customer details with optional --include users,revenue,recentTimeline,behaviorMetrics |
outlit customers timeline <id|domain> | Activity timeline with channel/event filters |
outlit users list | List/filter users across customers |
outlit facts <customer> | Signals and insights for a customer |
outlit search '<query>' | Natural language search across customer context |
outlit sql '<query>' | SQL against analytics DB (or --query-file) |
outlit schema [table] | Describe analytics tables and columns |
outlit setup | Auto-detect and configure AI agents |
outlit setup <agent> | Configure specific agent: cursor, claude-code, claude-desktop, vscode, gemini, openclaw |
outlit doctor | Diagnose CLI version, auth, connectivity, agents |
outlit completions <shell> | Generate shell completions (bash/zsh/fish) |
API key format: ok_ + 32+ alphanumeric characters.
Credential priority (first match wins):
--api-key flagOUTLIT_API_KEY env var~/.config/outlit/credentials.json (written by outlit auth login)Quick auth for CI/scripts:
outlit auth login --key ok_your_key_here
# or
export OUTLIT_API_KEY=ok_your_key_here
--json flag: Force JSON in any contextThis means outlit customers list | jq '.items[].domain' just works.
Available in outlit sql and outlit schema:
| Table | Contains |
|---|---|
events | All tracked events |
customer_dimensions | Customer attributes and metrics |
user_dimensions | User attributes and journey stages |
mrr_snapshots | Revenue over time |
Always run outlit schema first to discover columns before writing SQL.
Most list commands share these filters (check --help for specifics):
--billing-status PAYING|TRIALING|CHURNED|NONE--no-activity-in 7d|14d|30d|90d / --has-activity-in--mrr-above <cents> / --mrr-below <cents>--search <term>--limit <1-100> / --cursor <token> for pagination--order-by <field> / --order-direction asc|descAt-risk paying customers:
outlit customers list --billing-status PAYING --no-activity-in 30d
High-value customer details:
outlit customers get acme.com --include users,revenue,behaviorMetrics
Search for churn signals:
outlit search 'complaints about pricing' --customer acme.com
Revenue query:
outlit sql 'SELECT customer_id, mrr_cents FROM mrr_snapshots ORDER BY mrr_cents DESC LIMIT 10'
Setup all detected agents at once:
outlit setup --yes