Chatbot
Get Chatbot messages
Chatbot
Get Chatbot messages
note: there is a limit of 10000 messages
GET
/
chatbot
/
get_messages
curl --request GET \
--url https://api.isosceles.ai/chatbot/get_messages \
--header 'Authorization: Basic <encoded-value>'
{
"chat_messages": [
{
"actor": "USER",
"created_at": "2024-05-20T06:46:09.010233+00:00",
"id": 461,
"message": "hi",
"reference": [],
"thread_id": "7c621be0-96d8-4ecc-9149-74d0ff94f106",
"timestamp": null
},
{
"actor": "AI",
"created_at": "2024-05-20T06:46:12.300393+00:00",
"id": 462,
"message": "Hello! How can I assist you today?",
"reference": [],
"thread_id": "7c621be0-96d8-4ecc-9149-74d0ff94f106",
"timestamp": null
}
]
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Query Parameters
Response
200 - application/json
The response is of type object
.
curl --request GET \
--url https://api.isosceles.ai/chatbot/get_messages \
--header 'Authorization: Basic <encoded-value>'
{
"chat_messages": [
{
"actor": "USER",
"created_at": "2024-05-20T06:46:09.010233+00:00",
"id": 461,
"message": "hi",
"reference": [],
"thread_id": "7c621be0-96d8-4ecc-9149-74d0ff94f106",
"timestamp": null
},
{
"actor": "AI",
"created_at": "2024-05-20T06:46:12.300393+00:00",
"id": 462,
"message": "Hello! How can I assist you today?",
"reference": [],
"thread_id": "7c621be0-96d8-4ecc-9149-74d0ff94f106",
"timestamp": null
}
]
}