cURL
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 } ] }
note: there is a limit of 10000 messages
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The response is of type object.
object