Skip to main content
GET
Get Conversation

获取智能体对话详情

URL: /v1/agent/conversations/{conversation_id}
方法: GET
描述: 获取指定智能体对话的详细信息。

路径参数

响应参数

示例代码

cURL 示例

Python 示例

响应示例

注意事项

  • conversation_id 可从创建对话接口的响应中获取
  • created_atupdated_at 为毫秒级时间戳
  • last_message 字段包含对话中最后一条消息的信息

Authorizations

Authorization
string
header
required

Enter your Bearer token

Path Parameters

conversation_id
integer
required

对话 ID

Response

Successful Response

Agent 对话详情

id
integer
required

对话 ID

Example:

123456789

user_id
integer
required

用户 ID

Example:

987654321

agent_id
integer
required

智能体 ID

Example:

11887655289749510

type
string
required

对话类型

Example:

"agent_chat"

status
string
required

对话状态

Example:

"active"

created_at
integer
required

创建时间戳(毫秒)

Example:

1765851195760

updated_at
integer
required

更新时间戳(毫秒)

Example:

1765851195768

title
string

对话标题

Example:

"nvidia 最新业绩分析"

meta
Meta · object

元数据

last_message
Last Message · object

最后一条消息