Get Messages of a Knowledge Bot chat
GET
/api/knowledge-bots/{knowledgeBotId}/chats/{chatId}/messages
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.crbnai.com/api/knowledge-bots//chats//messages'
Response Response Example
[
{
"chat_id": "kbc_01hgc474tmw33t3kfnp16mgmdp",
"content": "Example Response [dsec01hdnmmgzq7a6wr8j0n3wvny1y]",
"created_at": "2023-11-28T23:28:54.250641+00:00",
"id": "kbcm_01hgc477z2fx3dvyv8expbmvx6",
"role": "assistant"
},
{
"chat_id": "kbc_01hgc474tmw33t3kfnp16mgmdp",
"content": "Example Question",
"created_at": "2023-11-28T23:28:52.396634+00:00",
"id": "kbcm_01hgc47659rw7s3ce33vkbvbkd",
"role": "user"
}
]
Request
Path Params
knowledgeBotId
string
required
chatId
string
required
Responses
Modified at 2023-11-28 23:32:50