Detail of a Conversation

You can see all Messages from a Conversation

GET https://backend.az.misterturing.com/v4.0/assistant/conversations/{conversation_id/

Full Response

You will be able to see each interaction of the Conversation, the answer, sources and extractions.

{
    "conversation_id": "UUID",
    "question": "10",
    "messages_count": 4,
    "created_at": "10/26/2024 22:10",
    "source_tool": {
        "name": "IT Assistant",
        "external_id": "UUID",
        "type": "assistant"
    },
    "messages": [
        {
            "question": "hey",
            "created_at": "10/26/2024 22:10",
            "answer": "Hey! How can I help you?",
            "sources": [],
            "extractions": []
        },
        {
            "question": "my printer is not working, I want to raise a ticket",
            "created_at": "10/26/2024 22:10",
            "answer": "Sure, I can help with that. To open a ticket, I need some information. Could you please tell me your company registration number?",
            "sources": [],
            "extractions": [
                {
                    "extraction_name": "Reason for the ticket",
                    "extraction_value": "I want to open a ticket, my printer won't turn on"
                }
            ]
        },
        {
            "question": "my badge number is 12345",
            "created_at": "10/26/2024 22:10",
            "answer": "Thank you! Now that I have the necessary information, I will open a ticket regarding the problem with your printer not turning on. \n\nPlease, at the end of the service, could you give me a rating from 0 to 10 for the support? This helps us improve our service.",
            "sources": [],
            "extractions": [
                {
                    "extraction_name": "CompanyID",
                    "extraction_value": "12345"
                }
            ]
        },
        {
            "question": "10",
            "created_at": "11/26/2024 22:10",
            "answer": "Thank you for your review! Your feedback is very important to us. The ticket has been opened and someone from the support team will be in touch shortly to help with your printer. If you need anything else, I'm here to help!",
            "sources": [],
            "extractions": [
                {
                    "extraction_name": "NPS",
                    "extraction_value": "10"
                }
            ]
        }
    ]
}

Last updated