🕶️One Conversation Details
Endpoint
The endpoint to access this history summary is working with a GET request :
https://www.owlbot.ai/api/chatbot/[id]/[session]
Remember to use the API Token in the headers as show in the Authentication section.
The required parameters are :
[id]
uuid
Chatbot UUID
you want to have chat history from
[session]
uuid
Session UUID
you want to have the details from
Example of Response
Response is a HTTP 200 Array with a list of JSON source object :
{
"messageArr":[
{
"id":2080,
"created_at":"2023-07-29T13:21:25.036589+00:00",
"chatbot_uuid":"694f0f35-a082-41a8-XXXX",
"user":"user",
"content":"Quels sont les valeurs de l'entreprise ?",
"doc_vector_id":null,
"user_session":"86f122cc-5709-4004-XXXX"
},
{
"id":2081,
"created_at":"2023-07-29T13:21:25.036589+00:00",
"chatbot_uuid":"694f0f35-a082-41a8-XXXX",
"user":"assistant",
"content":"Les valeurs de l'entreprise sont la bienveillance et le travail.",
"doc_vector_id":[
3652,
3654,
3692,
3664,
3669
],
"user_session":"86f122cc-5709-4004-a26f-117978b5cc3b"
},
{
////
}
],
"botPreferences":{
////
}
}
Here as the description of the details provided :
id
unique number
unique id
created_at
timestamp
Timedate creation of the user message
chatbot_uuid
uuid
chatbot UUID of the chatbot having the conversation
user
string
can be user, assistant or agent. user is a real person chatting with the assistant (ie AI Chatbot). Agent is coming soon
content
string
user or chatbot message
doc_vector
array
array containing the ID of the sources used (weblink, doc) to answer the question
user_session
uuid
session uuid of the given conversation
Last updated