查看会话中历史消息
GET
/organizations/{organization_uuid}/chat_conversations/{conversation_uuid}请求参数
Path 参数
organization_uuid
string
必需
示例值:
dca2a902-a463-41f0-88cb-b047deb40178
conversation_uuid
string
必需
示例值:
5446798e-0e11-4e8f-994c-3d8386f01bd6
Header 参数
Accept
string
可选
示例值:
application/json
Cookie 参数
sessionKey
string
可选
你的 sessionKey,请从 claude.ai 获取
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
uuid
string
必需
name
string
必需
summary
string
必需
created_at
string
必需
updated_at
string
必需
chat_messages
array [object {9}]
必需
uuid
string
必需
text
string
必需
sender
string
必需
index
integer
必需
created_at
string
必需
updated_at
string
必需
edited_at
null
必需
chat_feedback
null
必需
attachments
array [object {6}]
必需
示例
{
"uuid": "5446798e-0e11-4e8f-994c-3d8386f01bd6",
"name": "测试",
"summary": "",
"created_at": "2023-07-13T00:17:01.421056+00:00",
"updated_at": "2023-07-13T00:18:48.338661+00:00",
"chat_messages": [
{
"uuid": "984114bc-5d91-4342-945f-e7db681a32a3",
"text": "你好呀",
"sender": "human",
"index": 0,
"created_at": "2023-07-13T00:43:15.812689+00:00",
"updated_at": "2023-07-13T00:43:15.812689+00:00",
"edited_at": null,
"chat_feedback": null,
"attachments": []
},
{
"uuid": "082418bb-b9a6-4288-a978-343bea6acb13",
"text": " Since you greeted me in Chinese, ni hao! I don't actually speak Chinese but I can try my best to have a conversation. What would you like to chat about?",
"sender": "assistant",
"index": 3,
"created_at": "2023-07-13T00:58:48.338661+00:00",
"updated_at": "2023-07-13T00:58:48.338661+00:00",
"edited_at": null,
"chat_feedback": null,
"attachments": []
}
]
}
最后修改时间: 1 年前