← 返回
安全合规 Key 中文

Outlit Cli

Use when running Outlit CLI commands, setting up Outlit for AI agents, authenticating with Outlit, querying customer data from the terminal, or troubleshooti...
用于运行 Outlit CLI 命令、为 AI 代理设置 Outlit、进行身份验证、从终端查询客户数据或故障排查……
rafa-thayto
安全合规 clawhub v0.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 697
下载
💾 3
安装
1
版本
#latest

概述

Outlit CLI

Customer intelligence from the terminal. Install: npm i -g @outlit/cli

All commands support --help for full option details.

Command Reference

CommandPurpose
------------------
outlit auth loginStore API key (interactive or --key for CI)
outlit auth logoutRemove stored key
outlit auth statusValidate current key
outlit auth whoamiPrint masked key (for scripting)
outlit auth signupOpen signup in browser
outlit customers listList/filter customers with risk signals
`outlit customers get domain>`Customer details with optional --include users,revenue,recentTimeline,behaviorMetrics
`outlit customers timeline domain>`Activity timeline with channel/event filters
outlit users listList/filter users across customers
outlit facts Signals and insights for a customer
outlit search ''Natural language search across customer context
outlit sql ''SQL against analytics DB (or --query-file)
outlit schema [table]Describe analytics tables and columns
outlit setupAuto-detect and configure AI agents
outlit setup Configure specific agent: cursor, claude-code, claude-desktop, vscode, gemini, openclaw
outlit doctorDiagnose CLI version, auth, connectivity, agents
outlit completions Generate shell completions (bash/zsh/fish)

Authentication

API key format: ok_ + 32+ alphanumeric characters.

Credential priority (first match wins):

  1. --api-key flag
  2. OUTLIT_API_KEY env var
  3. ~/.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

Output Behavior

  • Interactive terminal: Pretty tables with colors
  • Piped stdout: Automatic JSON (no flag needed)
  • --json flag: Force JSON in any context

This means outlit customers list | jq '.items[].domain' just works.

SQL Tables

Available in outlit sql and outlit schema:

TableContains
-----------------
eventsAll tracked events
customer_dimensionsCustomer attributes and metrics
user_dimensionsUser attributes and journey stages
mrr_snapshotsRevenue over time

Always run outlit schema first to discover columns before writing SQL.

Common Filters

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 / --mrr-below
  • --search
  • --limit <1-100> / --cursor for pagination
  • --order-by / --order-direction asc|desc

Common Patterns

At-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

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 04:37 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,142
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,598
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,212 📥 266,311