wildix-get-chat

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Get Chat by ID

通过ID获取聊天信息

Fetches channel info from the Wildix API by raw ID. The API resolves the channel type automatically — no need to know
group:
or
direct:
prefix.
Do not use
wildix-get-last-chats
for this
— that skill returns the inbox list and cannot look up by ID.
通过原始ID从Wildix API获取频道信息。该API会自动解析频道类型——无需了解
group:
direct:
前缀。
请勿使用
wildix-get-last-chats
来完成此操作
——该技能仅返回收件箱列表,无法通过ID进行查询。

Peer Skills

关联技能

Before running, check if
wildix-auth
is installed:
bash
Glob ~/.claude/skills/wildix-auth/SKILL.md
运行前,请检查
wildix-auth
是否已安装:
bash
Glob ~/.claude/skills/wildix-auth/SKILL.md

If missing: npx skills add Wildix/agent-skills --s wildix-auth -y

If missing: npx skills add Wildix/agent-skills --s wildix-auth -y


See [`peers.yaml`](peers.yaml) for full peer manifest.

完整的关联技能清单请查看[`peers.yaml`](peers.yaml)。

Input formats

输入格式

InputExample
x-bees inbox URL
https://app.x-bees.com/inbox/abc123
Full channelId
group:abc123
Bare raw ID
abc123
The script strips URL prefixes and type prefixes automatically.
输入类型示例
x-bees收件箱URL
https://app.x-bees.com/inbox/abc123
完整channelId
group:abc123
原始ID
abc123
脚本会自动去除URL前缀和类型前缀。

Flow

流程

  1. Get IdToken via
    wildix-auth
    skill (if not already available)
  2. Run the script
bash
ID_TOKEN="$ID_TOKEN" bash <BASE_DIR>/scripts/get-chat-by-id.sh "<input>"
  1. 获取IdToken:通过
    wildix-auth
    技能获取(如果尚未获取)
  2. 运行脚本
bash
ID_TOKEN="$ID_TOKEN" bash <BASE_DIR>/scripts/get-chat-by-id.sh "<input>"

API

API接口

GET https://api.x-bees.com/v2/conversations/channels/{rawId}
Authorization:
Bearer <IdToken>
Returns exit code 1 if the channel is not found.
GET https://api.x-bees.com/v2/conversations/channels/{rawId}
Authorization:
Bearer <IdToken>
如果未找到频道,返回退出码1。