命令行工具
在终端中使用
10,000+ API 能力
QVeris CLI 让你在命令行中发现、检查和调用任何 API 工具。开发者可以交互式探索,智能体可以用 --json 结构化输出驱动自动化。
搜索免费<500ms 延迟注册送 1,000 creditsNode.js 18+
$curl -fsSL https://qveris.ai/cli/install | bash
或通过 npm: npm install -g @qverisai/cli · npx @qverisai/cli
终端 — qveris discover → inspect → call
# 登录(仅首次) $ qveris login Opening browser to get your API key... ✓ Logged in as qv_8kx2...m4f9 # 搜索你需要的 API 能力 $ qveris discover "stock market real-time quotes" Found 6 tools: 1. finance.stock_quote Real-time stock quotes ⚡ 320ms 99.2% 2. market.live_price Live market prices ⚡ 450ms 98.7% 3. trading.ticker_data Ticker data & history ⚡ 280ms 99.5% # 查看工具详情(用索引号引用) $ qveris inspect 1 finance.stock_quote Real-time stock price quotes from major exchanges Provider: MarketData Pro · Avg: 320ms · Success: 99.2% Parameters: symbol string (required) Stock ticker symbol exchange string (optional) Exchange code # 调用工具 $ qveris call 1 --params '{"symbol": "AAPL"}'} { "symbol": "AAPL", "price": 198.52, "change": +2.31, "volume": 45230100 } # 查看剩余额度 $ qveris credits ✓ Remaining: 947 credits → https://qveris.ai/account
交互式 REPL — qveris interactive
$ qveris interactive QVeris REPL v1.0 — type a query to discover tools, help for commands qveris> weather forecast API Found 4 tools: 1. weather.forecast 7-day weather forecast ⚡ 380ms 2. weather.current Current conditions ⚡ 220ms qveris> inspect 1 weather.forecast Parameters: location (required), days (optional, default: 7) qveris> call 1 {"location": "Shanghai"} { "location": "Shanghai", "forecast": [...] } qveris> codegen curl # Generated curl command: curl -X POST https://qveris.ai/api/v1/execute \ -H "Authorization: Bearer $QVERIS_API_KEY" \ -d '{"tool_id":"weather.forecast","params":{"location":"Shanghai"}}' qveris> exit
为什么用 CLI
自然语言搜索
用普通语言描述需求,CLI 返回最匹配的工具。无需记忆 API 名称。
零配置即用
curl 一键安装,qveris login 交互式认证。30 秒从零到可用。
代码生成
--codegen 生成 curl / Python / JS 调用代码,直接集成到项目中。
交互式 REPL
qveris interactive 启动探索环境,像对话一样发现和试用 API。
智能体兼容
--json 输出 + stdin 管道 + 结构化退出码,完美适配自动化流程。
内置诊断
qveris doctor 一键检查 Node.js 版本、API Key、网络连通性。
命令速查
| 命令 | 说明 | 费用 |
|---|---|---|
| 核心工作流 | ||
| qveris discover <query> | 自然语言搜索 API 能力 | 免费 |
| qveris inspect <id|index> | 查看工具详情、参数、示例 | 免费 |
| qveris call <id|index> | 调用工具并获取结果 | 1-100 credits |
| qveris interactive | 启动交互式 REPL(仅人类) | — |
| 账户管理 | ||
| qveris login | 交互式登录,打开浏览器获取 API Key | — |
| qveris logout | 清除已存储的 API Key | — |
| qveris whoami | 查看当前认证状态 | — |
| qveris credits | 查看剩余额度 | — |
| 工具 & 配置 | ||
| qveris config list|set|get|reset | 管理 CLI 配置(api_key, base_url, default_limit...) | — |
| qveris history | 查看/清除当前会话历史(30 分钟 TTL) | — |
| qveris doctor | 检查 Node.js、API Key、网络连通性 | — |
| qveris completions <shell> | 生成 Shell 自动补全脚本 | — |
所有命令支持 --json 输出 · --api-key 覆盖认证 · --timeout 超时设置
