Create a new agent conversation
/v1/agent/conversations
方法: POST
描述: 创建一个新的智能体对话会话
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| agent_id | integer | 否 | 智能体 ID(不传则使用系统默认智能体) |
| title | string | 否 | 对话标题 |
| conversation_type | string | 否 | 对话类型(agent_chat, task_chat, debug_chat, bot_chat) |
| meta | object | 否 | 元数据 |
| channel | string | 否 | 消息来源渠道(universal-bridge, openclaw-weixin, telegram),agent 完成后回调通知 |
| 参数名 | 类型 | 描述 |
|---|---|---|
| id | integer | 对话 ID |
| user_id | integer | 用户 ID |
| agent_id | integer | 智能体 ID |
| type | string | 对话类型 |
| title | string | 对话标题 |
| status | string | 对话状态 |
| url | string | 对话页面链接 |
| shared_url | string | 对话分享链接 |
| created_at | integer | 创建时间戳(毫秒) |
| updated_at | integer | 更新时间戳(毫秒) |
Enter your Bearer token
创建 agent 对话请求
Successful Response
创建 agent 对话响应
对话 ID
123456789
用户 ID
987654321
智能体 ID
11887655289749510
对话类型
"agent_chat"
对话状态
"active"
创建时间戳(毫秒)
1765851195760
更新时间戳(毫秒)
1765851195768
对话标题
"nvidia 最新业绩分析"
对话页面链接
"https://reportify.cn/agents/11887655289749510/chat/123456789"
对话分享链接
"https://reportify.cn/share/chat/11887655289749510-123456789"