Skip to main content
GET
/
v2
/
chat-sessions
/
{id}
Get Chat Session
curl --request GET \
  --url http://localhost:3000/api/v2/chat-sessions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "title": "<string>",
  "messages": [
    {
      "id": "<string>",
      "content": "<string>",
      "role": "user",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Chat session details

id
string
required
title
string
required
messages
object[]
required
I