Create Conversation
智能体接口
Create Conversation
Create a new agent conversation
POST
Create Conversation
Documentation Index
Fetch the complete documentation index at: https://docs.reportify.cn/llms.txt
Use this file to discover all available pages before exploring further.
创建智能体对话
URL:/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 | 更新时间戳(毫秒) |
请求示例
cURL响应示例
Authorizations
Enter your Bearer token
Body
application/json
创建 agent 对话请求
Response
Successful Response
创建 agent 对话响应
对话 ID
Example:
123456789
用户 ID
Example:
987654321
智能体 ID
Example:
11887655289749510
对话类型
Example:
"agent_chat"
对话状态
Example:
"active"
创建时间戳(毫秒)
Example:
1765851195760
更新时间戳(毫秒)
Example:
1765851195768
对话标题
Example:
"nvidia 最新业绩分析"
对话页面链接
Example:
"https://reportify.cn/agents/11887655289749510/chat/123456789"
对话分享链接
Example:
"https://reportify.cn/share/chat/11887655289749510-123456789"
