名称: fathom
描述: 连接 Fathom AI,获取通话录音、转录文本和摘要。当用户询问其会议、通话历史,或想搜索过往对话时使用。
阅读时间:
- 用户询问其 Fathom 通话或会议
- 用户想要搜索通话转录文本
- 用户需要通话摘要或行动项
- 用户想要设置 Fathom 集成
元数据:
clawdbot:
emoji: "📞"
requires:
bins: ["curl", "jq"]
连接 Fathom AI,获取通话录音、转录文本和摘要。
v1XDx...)# 选项 A:存储在文件中(推荐)
echo "YOUR_API_KEY" > ~/.fathom_api_key
chmod 600 ~/.fathom_api_key
# 选项 B:环境变量
export FATHOM_API_KEY="YOUR_API_KEY"
./scripts/setup.sh
./scripts/list-calls.sh # 最近 10 条通话
./scripts/list-calls.sh --limit 20 # 最近 20 条通话
./scripts/list-calls.sh --after 2026-01-01 # 指定日期之后的通话
./scripts/list-calls.sh --json # 原始 JSON 输出
./scripts/get-transcript.sh 123456789 # 通过录音 ID
./scripts/get-transcript.sh 123456789 --json
./scripts/get-transcript.sh 123456789 --text-only
./scripts/get-summary.sh 123456789 # 通过录音 ID
./scripts/get-summary.sh 123456789 --json
./scripts/search-calls.sh "product launch" # 在转录文本中搜索
./scripts/search-calls.sh --speaker "Lucas"
./scripts/search-calls.sh --after 2026-01-01 --before 2026-01-15
| 端点 | 方法 | 描述 |
|---|---|---|
/meetings |
GET | 列出会议(可筛选) |
/recordings/{id}/transcript |
GET | 包含发言者的完整转录文本 |
/recordings/{id}/summary |
GET | AI 摘要 + 行动项 |
/webhooks |
POST | 注册用于自动同步的 Webhook |
基础 URL: https://api.fathom.ai/external/v1
认证: X-API-Key 请求头
| 筛选器 | 描述 | 示例 |
|---|---|---|
--limit N |
返回结果数量 | --limit 20 |
--after DATE |
指定日期之后的通话 | --after 2026-01-01 |
--before DATE |
指定日期之前的通话 | --before 2026-01-15 |
--cursor TOKEN |
分页游标 | --cursor eyJo... |
| 标志 | 描述 |
|---|---|
--json |
API 返回的原始 JSON |
--table |
格式化表格(列表的默认格式) |
--text-only |
纯文本(仅限转录文本) |
# 获取最新通话的 ID
CALL_ID=$(./scripts/list-calls.sh --limit 1 --json | jq -r '.[0].recording_id')
# 获取摘要
./scripts/get-summary.sh $CALL_ID
./scripts/list-calls.sh --after $(date -d '7 days ago' +%Y-%m-%d) --json > last_week_calls.json
./scripts/search-calls.sh "quarterly review"
| 错误 | 解决方案 |
|---|---|
| "未找到 API 密钥" | 运行设置或设置 FATHOM_API_KEY 环境变量 |
| "401 未授权" | 检查 API 密钥是否有效 |
| "429 请求过多" | 等待后重试 |
| "未找到录音" | 确认录音 ID 存在 |
如需自动转录文本摄取,请参阅 Webhook 设置指南:
./scripts/setup-webhook.sh --url https://your-endpoint.com/webhook
需要可公开访问的 HTTPS 端点。