curl --request GET \
--url http://localhost:3000/api/v1/chats/{id} \
--cookie nut-session={
"success": true,
"data": {
"chat": {
"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 a specific chat
curl --request GET \
--url http://localhost:3000/api/v1/chats/{id} \
--cookie nut-session={
"success": true,
"data": {
"chat": {
"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
Chat ID
Chat details
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)