Skip to main content
GET
/
api
/
v1
/
chats
List chats
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"
      }
    ]
  }
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Query Parameters

proposalId
string

Filter by proposal ID

Response

List of chats

success
boolean
required
data
object