curl --request GET \
--url http://localhost:3000/api/v1/chats \
--cookie nut-session={
"success": true,
"data": {
"chats": [
{
"id": "<string>",
"title": "<string>",
"proposalId": "<string>",
"messages": [
{
"role": "user",
"content": "<string>",
"name": "<string>",
"toolCalls": [
{}
],
"toolCallId": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
}Retrieve all chat histories
curl --request GET \
--url http://localhost:3000/api/v1/chats \
--cookie nut-session={
"success": true,
"data": {
"chats": [
{
"id": "<string>",
"title": "<string>",
"proposalId": "<string>",
"messages": [
{
"role": "user",
"content": "<string>",
"name": "<string>",
"toolCalls": [
{}
],
"toolCallId": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
}Session cookie authentication
Filter by proposal ID
List of chats
Show child attributes
Show child attributes
Chat ID
Chat title
Associated proposal ID
Show child attributes
user, assistant, system, tool Message content
Name (for tool messages)
Tool calls (for assistant messages)
Tool call ID (for tool messages)