Skip to main content
GET
/
insight
/
{rec_id}
/
chat
Get Chat History
curl --request GET \
  --url https://api.example.com/insight/{rec_id}/chat/ \
  --header 'Authorization: Bearer <token>'
{
  "messages": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "message_type": "user",
      "content": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "thread_id": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

rec_id
string<uuid>
required

Query Parameters

thread_id
integer
default:1

Response

Successful Response

messages
ChatMessageResponse · object[]
required