GET
/
chat
/
{threadUuid}
curl --request GET \
  --url https://ragapi.sno.ai/v1/chat/{threadUuid} \
  --header 'Authorization: Bearer <token>'
{
  "chatHistory": [
    {
      "role": "user",
      "content": "<string>",
      "timestamp": "2023-11-07T05:31:56Z"
    }
  ]
}

Retrieves the history of a specific chat thread, identified by its UUID. The response contains a list of messages with roles, content, and timestamps.

Authorizations

Authorization
string
header
required

Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'

Path Parameters

threadUuid
string
required

UUID of the chat thread

Response

200
application/json

Chat history for the thread

The response is of type object.