- 13 Oct 2023
- 8 Minutes to read
- Contributors
- Print
- PDF
Conversation Reports - API Documentation
- Updated on 13 Oct 2023
- 8 Minutes to read
- Contributors
- Print
- PDF
Requesting Conversation Reports through API
This document aims to describe how to acquire one-day report of the conversations for your Knovvu Virtual Agent projects.
As the first step to create or get API credentials please refer to the Step 0 here: API Documentation.
1. Get token for access
The parameters (client_id & client_secret) will be provided by Sestek for each customer. Or if it is an on-prem deployment the parameters must be created by using Host account.
Sample token request body:
This is an example token request body, here you will enter the credentials you were given, and the URLs below are examples as well.
Base URL: https://eu.va.knovvu.com/
Identity URL: https://identity.eu.va.knovvu.com/
Token Endpoint: https://identity.eu.va.knovvu.com/connect/token
Method: POST
Parameters:
client_id: <your unique client id>
client_secret: <your unique client secret>
grant_type: client_credentials
scope: datasevice_external
After entering your credentials, click send and you will get a response body.
Sample response body:
{
"access_token": "your unique token",
"expires_in": 86400,
"token_type": "Bearer",
"scope": "dataservice_external"
}
2. Create Request
After the first step of getting the token, the token should be entered in the Authorization part as Bearer Token.
The Body part should be filled with the date of the conversation report you would like to retrieve, as in the example below.
Sample response body:
1 "your unique request ID"
Your request ID will be an ID that consists of 32 alphanumeric characters.
A request for a specific date can be send only once a day. If it is send more than once, response body will be :
"You can only send a request to our system once a day
for a specific day."
Also, if there is an unready report and another request is made, the response will be:
"You already have an ongoing request."
3. Get Status
This endpoint is to see if your report is ready or not, for instance your requested data might be large and might take time to be prepared. The status of your report could be checked here.
To conduct this process, call the following endpoint with the daily report request Id that is retained from the Create Request:{{DATA_SERVICE_URL}}/api/external/conversations/daily-report/{{DailyReportRequestId}}/status
Example:
After sending the request, the response body will be either 0, 1, or 2, meaning:
0: Your report is not ready
1: Your report is ready
2: There is an error while creating your report
4. Get Report
To get your report, similar to the previous step, paste your Request ID to the "{{DailyReportRequestID}}" part shown below, and the report will be ready.
Message Type:
Reply= 0,
Utterance = 1,
Event = 2,
Message Source:
Virtual Agent = 0,
Live Chat = 1,
Message Content Type
Text = 0,
Audio = 1,
Location = 2,
Quick Reply = 3,
Cards = 4,
Sample body response:
{
"Count": 4,
"Conversations": [
{
"Session": {
"Date": "2023-09-25T12:37:05.5170084Z",
"ProjectName": "25eylul-project",
"ExternalConversationId": "9da3b310-5392-4404-8a32-e758043b29af",
"ConversationSessionId": "a0ac4022-7eb0-4d89-81ea-43e43b2f14ea",
"ChannelId": "SestekIVR",
"ChannelName": null,
"Duration": 56.206116,
"LastIntent": "weather",
"AverageSentimentScore": null,
"SentimentLevel": 2,
"ConversationSummary": null,
"CustomerName": null,
"CustomerEmailAddress": null,
"CustomerPhoneNumber": null,
"CustomerTwitterAddress": null
},
"Messages": [
{
"SessionId": "736db848-d6f9-4515-2970-08dbbdc4209e",
"Text": "Hello, I am Knovvu Virtual Agent. How may I help you?",
"DateCreated": "2023-09-25T12:37:06.4286489Z",
"Type": 0,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"text\":\"Hello, I am Knovvu Virtual Agent. How may I help you?\",\"attachments\":[]}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Main",
"FlowType": 0,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "52c80e02-6576-4856-88f9-35dd379ac313"
},
{
"SessionId": "736db848-d6f9-4515-2970-08dbbdc4209e",
"Text": "weather",
"DateCreated": "2023-09-25T12:37:09.7376249Z",
"Type": 1,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"id\":\"5b349cfc-d877-4f7e-ae47-8c26f66c6651\",\"serviceUrl\":\"http://cai-webchat/webchat/home/push\",\"channelId\":\"TestChat\",\"from\":{\"id\":\"555\",\"name\":\"admin\"},\"conversation\":{\"id\":\"9da3b310-5392-4404-8a32-e758043b29af\"},\"recipient\":{\"id\":\"9da3b310-5392-4404-8a32-e758043b29af\",\"name\":\"9da3b310-5392-4404-8a32-e758043b29af\"},\"text\":\"weather\",\"channelData\":{\"CustomAction\":\"\",\"CustomActionData\":\"{\\\"FlowId\\\":null,\\\"IsPublished\\\":false,\\\"IsTest\\\":true,\\\"ResponseType\\\":\\\"Text\\\"}\",\"ProjectName\":\"25eylul-project\",\"ResponseType\":0}}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Main",
"FlowType": 0,
"Session": null,
"Recognitions": [
{
"ExternalConversationId": "9da3b310-5392-4404-8a32-e758043b29af",
"ConversationSessionId": "a0ac4022-7eb0-4d89-81ea-43e43b2f14ea",
"MessageId": "5d99a92e-37fb-4f54-ab2e-e645e7af2134",
"VirtualAgentId": "afd474b5-1eca-5116-320a-3a0dde83ae5d",
"Utterance": "weather",
"NormalizedUtterance": "weather",
"IntentId": "cf5d041f-b2c3-265d-37e8-3a0dde83bd74",
"IntentName": "weather",
"Confidence": 0.97329,
"DateProcessed": "2023-09-25T12:37:15.9847059Z",
"Id": "2424ad3b-b18c-4808-b85a-08dbbdc4267a"
}
],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "5d99a92e-37fb-4f54-ab2e-e645e7af2134"
}
],
"Ratings": []
},
{
"Session": {
"Date": "2023-09-25T12:38:02.9517304Z",
"ProjectName": "25eylul-project",
"ExternalConversationId": "584f543b-0f04-4ecf-9b21-bc299f08d830",
"ConversationSessionId": "21049209-1556-46a3-a9a0-4c59ada59e45",
"ChannelId": "SestekIVR",
"ChannelName": null,
"Duration": 126.0655413,
"LastIntent": "weather",
"AverageSentimentScore": null,
"SentimentLevel": 2,
"ConversationSummary": null,
"CustomerName": null,
"CustomerEmailAddress": null,
"CustomerPhoneNumber": null,
"CustomerTwitterAddress": null
},
"Messages": [
{
"SessionId": "4e6ee7b0-ea54-48c4-2971-08dbbdc4209e",
"Text": "Hello, I am Knovvu Virtual Agent. How may I help you?",
"DateCreated": "2023-09-25T12:38:02.9708478Z",
"Type": 0,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"text\":\"Hello, I am Knovvu Virtual Agent. How may I help you?\",\"attachments\":[]}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Main",
"FlowType": 0,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "fa8d06b3-35af-4519-8fbc-f4ff2c0fb977"
},
{
"SessionId": "4e6ee7b0-ea54-48c4-2971-08dbbdc4209e",
"Text": "how’s the weather",
"DateCreated": "2023-09-25T12:39:38.9322531Z",
"Type": 1,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"id\":\"00fb3a31-c09d-4f8f-a776-23213dbaa8a9\",\"serviceUrl\":\"http://cai-webchat/webchat/home/push\",\"channelId\":\"TestChat\",\"from\":{\"id\":\"555\",\"name\":\"admin\"},\"conversation\":{\"id\":\"584f543b-0f04-4ecf-9b21-bc299f08d830\"},\"recipient\":{\"id\":\"584f543b-0f04-4ecf-9b21-bc299f08d830\",\"name\":\"584f543b-0f04-4ecf-9b21-bc299f08d830\"},\"text\":\"how’s the weather\",\"channelData\":{\"CustomAction\":\"\",\"CustomActionData\":\"{\\\"FlowId\\\":null,\\\"IsPublished\\\":false,\\\"IsTest\\\":true,\\\"ResponseType\\\":\\\"Text\\\"}\",\"ProjectName\":\"25eylul-project\",\"ResponseType\":0}}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Main",
"FlowType": 0,
"Session": null,
"Recognitions": [
{
"ExternalConversationId": "584f543b-0f04-4ecf-9b21-bc299f08d830",
"ConversationSessionId": "21049209-1556-46a3-a9a0-4c59ada59e45",
"MessageId": "ad29eceb-d209-4b79-999a-d766a6ac10ab",
"VirtualAgentId": "afd474b5-1eca-5116-320a-3a0dde83ae5d",
"Utterance": "how’s the weather",
"NormalizedUtterance": "how’s the weather",
"IntentId": "cf5d041f-b2c3-265d-37e8-3a0dde83bd74",
"IntentName": "weather",
"Confidence": 1.0,
"DateProcessed": "2023-09-25T12:39:41.6117433Z",
"Id": "65379f81-cc3d-4097-b85b-08dbbdc4267a"
}
],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "ad29eceb-d209-4b79-999a-d766a6ac10ab"
}
],
"Ratings": []
},
{
"Session": {
"Date": "2023-09-25T12:41:44.3393849Z",
"ProjectName": "25eylul-project",
"ExternalConversationId": "3228ffb6-0fcf-4805-8734-5838d7bd98bd",
"ConversationSessionId": "4fa38f8f-5a7b-4e8a-b146-9e4b4f5f78e8",
"ChannelId": "SestekIVR",
"ChannelName": null,
"Duration": 12.9171163,
"LastIntent": "ambiguity1",
"AverageSentimentScore": null,
"SentimentLevel": 2,
"ConversationSummary": null,
"CustomerName": null,
"CustomerEmailAddress": null,
"CustomerPhoneNumber": null,
"CustomerTwitterAddress": null
},
"Messages": [
{
"SessionId": "b3cc05fd-c729-4823-2972-08dbbdc4209e",
"Text": "Hello, I am Knovvu Virtual Agent. How may I help you?",
"DateCreated": "2023-09-25T12:41:44.372803Z",
"Type": 0,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"text\":\"Hello, I am Knovvu Virtual Agent. How may I help you?\",\"attachments\":[]}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Main",
"FlowType": 0,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "258b2d8c-21c0-4d1b-8baf-342909397ff3"
},
{
"SessionId": "b3cc05fd-c729-4823-2972-08dbbdc4209e",
"Text": "test",
"DateCreated": "2023-09-25T12:41:47.2234082Z",
"Type": 1,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"id\":\"229dc3ff-2f83-42b3-bd72-5ff7c1c99714\",\"serviceUrl\":\"http://cai-webchat/webchat/home/push\",\"channelId\":\"TestChat\",\"from\":{\"id\":\"555\",\"name\":\"admin\"},\"conversation\":{\"id\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\"},\"recipient\":{\"id\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\",\"name\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\"},\"text\":\"test\",\"channelData\":{\"CustomAction\":\"\",\"CustomActionData\":\"{\\\"FlowId\\\":null,\\\"IsPublished\\\":false,\\\"IsTest\\\":true,\\\"ResponseType\\\":\\\"Text\\\"}\",\"ProjectName\":\"25eylul-project\",\"ResponseType\":0}}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": true,
"FlowName": "Main",
"FlowType": 0,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [
{
"MessageId": "900d1af0-aaa5-464d-8fd4-b4ee845a3058",
"IntentId": "cf5db374-746e-9591-f5c4-3a0dde84038f",
"IntentName": "ambig2",
"Confidence": 1.0,
"Id": "bdc6d550-c980-4c5b-3bd4-08dbbdc4c853"
},
{
"MessageId": "900d1af0-aaa5-464d-8fd4-b4ee845a3058",
"IntentId": "afd05852-8f07-0bb5-93f0-3a0dde83dc35",
"IntentName": "ambig1",
"Confidence": 1.0,
"Id": "32acd821-298f-472e-3bd5-08dbbdc4c853"
}
],
"Id": "900d1af0-aaa5-464d-8fd4-b4ee845a3058"
},
{
"SessionId": "b3cc05fd-c729-4823-2972-08dbbdc4209e",
"Text": "Which of the following would you like to proceed with?",
"DateCreated": "2023-09-25T12:41:47.5020929Z",
"Type": 0,
"Source": 0,
"ContentType": 3,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"text\":\"Which of the following would you like to proceed with?\",\"attachments\":[{\"contentType\":\"application/vnd.microsoft.card.hero\",\"content\":\"{\\\"title\\\":null,\\\"subtitle\\\":null,\\\"text\\\":\\\"Which of the following would you like to proceed with?\\\",\\\"images\\\":null,\\\"buttons\\\":[{\\\"type\\\":\\\"imBack\\\",\\\"title\\\":\\\"ambig2\\\",\\\"image\\\":null,\\\"text\\\":null,\\\"displayText\\\":null,\\\"value\\\":\\\"ambig2\\\",\\\"channelData\\\":null,\\\"imageAltText\\\":null},{\\\"type\\\":\\\"imBack\\\",\\\"title\\\":\\\"ambig1\\\",\\\"image\\\":null,\\\"text\\\":null,\\\"displayText\\\":null,\\\"value\\\":\\\"ambig1\\\",\\\"channelData\\\":null,\\\"imageAltText\\\":null},{\\\"type\\\":\\\"imBack\\\",\\\"title\\\":\\\"Other\\\",\\\"image\\\":null,\\\"text\\\":null,\\\"displayText\\\":null,\\\"value\\\":\\\"Other\\\",\\\"channelData\\\":null,\\\"imageAltText\\\":null}],\\\"tap\\\":null}\"}]}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Main",
"FlowType": 0,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "211b02e2-f96c-43dd-8b63-6dc0e91f89a5"
},
{
"SessionId": "b3cc05fd-c729-4823-2972-08dbbdc4209e",
"Text": "ambig1",
"DateCreated": "2023-09-25T12:41:48.8827512Z",
"Type": 1,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"id\":\"e22737d2-bf4c-4095-a2c9-cb0f8a597cf1\",\"serviceUrl\":\"http://cai-webchat/webchat/home/push\",\"channelId\":\"TestChat\",\"from\":{\"id\":\"555\",\"name\":\"admin\"},\"conversation\":{\"id\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\"},\"recipient\":{\"id\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\",\"name\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\"},\"text\":\"ambig1\",\"channelData\":{\"CustomAction\":\"\",\"CustomActionData\":\"{\\\"FlowId\\\":null,\\\"IsPublished\\\":false,\\\"IsTest\\\":true,\\\"ResponseType\\\":\\\"Text\\\",\\\"buttonTitle\\\":\\\"ambig1\\\"}\",\"ProjectName\":\"25eylul-project\",\"ResponseType\":0}}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Main",
"FlowType": 0,
"Session": null,
"Recognitions": [
{
"ExternalConversationId": "3228ffb6-0fcf-4805-8734-5838d7bd98bd",
"ConversationSessionId": "4fa38f8f-5a7b-4e8a-b146-9e4b4f5f78e8",
"MessageId": "e94e9a43-d291-4372-9acf-1375c2b2b709",
"VirtualAgentId": "afd474b5-1eca-5116-320a-3a0dde83ae5d",
"Utterance": "ambig1",
"NormalizedUtterance": "",
"IntentId": "afd05852-8f07-0bb5-93f0-3a0dde83dc35",
"IntentName": "ambig1",
"Confidence": 1.0,
"DateProcessed": "2023-09-25T12:41:50.0516387Z",
"Id": "b234cc6c-6b69-4265-b85c-08dbbdc4267a"
}
],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "e94e9a43-d291-4372-9acf-1375c2b2b709"
},
{
"SessionId": "b3cc05fd-c729-4823-2972-08dbbdc4209e",
"Text": "ambig1",
"DateCreated": "2023-09-25T12:41:50.0648945Z",
"Type": 0,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"text\":\"ambig1\",\"attachments\":[]}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "ambig1",
"FlowType": 0,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "d5537288-f84f-4249-9af2-ee47250e140b"
},
{
"SessionId": "b3cc05fd-c729-4823-2972-08dbbdc4209e",
"Text": "Is there anything else I can help you with?",
"DateCreated": "2023-09-25T12:41:51.1097424Z",
"Type": 0,
"Source": 0,
"ContentType": 3,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"text\":\"\",\"attachments\":[{\"contentType\":\"application/vnd.microsoft.card.hero\",\"content\":\"{\\\"title\\\":null,\\\"subtitle\\\":null,\\\"text\\\":\\\"Is there anything else I can help you with?\\\",\\\"images\\\":null,\\\"buttons\\\":[{\\\"type\\\":\\\"imBack\\\",\\\"title\\\":\\\"Yes\\\",\\\"image\\\":null,\\\"text\\\":null,\\\"displayText\\\":null,\\\"value\\\":\\\"Yes\\\",\\\"channelData\\\":null,\\\"imageAltText\\\":null},{\\\"type\\\":\\\"imBack\\\",\\\"title\\\":\\\"No\\\",\\\"image\\\":null,\\\"text\\\":null,\\\"displayText\\\":null,\\\"value\\\":\\\"no\\\",\\\"channelData\\\":null,\\\"imageAltText\\\":null}],\\\"tap\\\":null}\"}]}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Survey (EN)",
"FlowType": 1,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "b3df046c-83e4-4097-b421-db15bc1a21b5"
},
{
"SessionId": "b3cc05fd-c729-4823-2972-08dbbdc4209e",
"Text": "no",
"DateCreated": "2023-09-25T12:41:53.9732016Z",
"Type": 1,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"id\":\"46425b2b-50f5-4fdd-b999-32bd3908247e\",\"serviceUrl\":\"http://cai-webchat/webchat/home/push\",\"channelId\":\"TestChat\",\"from\":{\"id\":\"555\",\"name\":\"admin\"},\"conversation\":{\"id\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\"},\"recipient\":{\"id\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\",\"name\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\"},\"text\":\"no\",\"channelData\":{\"CustomAction\":\"\",\"CustomActionData\":\"{\\\"FlowId\\\":null,\\\"IsPublished\\\":false,\\\"IsTest\\\":true,\\\"ResponseType\\\":\\\"Text\\\",\\\"buttonTitle\\\":\\\"No\\\"}\",\"ProjectName\":\"25eylul-project\",\"ResponseType\":0}}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Survey (EN)",
"FlowType": 1,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "c3a5da6d-9b79-4284-9024-4298273a7b8c"
},
{
"SessionId": "b3cc05fd-c729-4823-2972-08dbbdc4209e",
"Text": "How was your experience on our services today? You can rate between 1-5. (1: Inadequate, 5: Perfect)",
"DateCreated": "2023-09-25T12:41:54.0723142Z",
"Type": 0,
"Source": 0,
"ContentType": 3,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"text\":\"\",\"attachments\":[{\"contentType\":\"application/vnd.microsoft.card.hero\",\"content\":\"{\\\"title\\\":null,\\\"subtitle\\\":null,\\\"text\\\":\\\"How was your experience on our services today? You can rate between 1-5. (1: Inadequate, 5: Perfect)\\\",\\\"images\\\":null,\\\"buttons\\\":[{\\\"type\\\":\\\"imBack\\\",\\\"title\\\":\\\"1\\\",\\\"image\\\":null,\\\"text\\\":null,\\\"displayText\\\":null,\\\"value\\\":\\\"1\\\",\\\"channelData\\\":null,\\\"imageAltText\\\":null},{\\\"type\\\":\\\"imBack\\\",\\\"title\\\":\\\"2\\\",\\\"image\\\":null,\\\"text\\\":null,\\\"displayText\\\":null,\\\"value\\\":\\\"2\\\",\\\"channelData\\\":null,\\\"imageAltText\\\":null},{\\\"type\\\":\\\"imBack\\\",\\\"title\\\":\\\"3\\\",\\\"image\\\":null,\\\"text\\\":null,\\\"displayText\\\":null,\\\"value\\\":\\\"3\\\",\\\"channelData\\\":null,\\\"imageAltText\\\":null},{\\\"type\\\":\\\"imBack\\\",\\\"title\\\":\\\"4\\\",\\\"image\\\":null,\\\"text\\\":null,\\\"displayText\\\":null,\\\"value\\\":\\\"4\\\",\\\"channelData\\\":null,\\\"imageAltText\\\":null},{\\\"type\\\":\\\"imBack\\\",\\\"title\\\":\\\"5\\\",\\\"image\\\":null,\\\"text\\\":null,\\\"displayText\\\":null,\\\"value\\\":\\\"5\\\",\\\"channelData\\\":null,\\\"imageAltText\\\":null}],\\\"tap\\\":null}\"}]}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Survey (EN)",
"FlowType": 1,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "35b66589-f8ed-4306-859c-2b07219b8588"
},
{
"SessionId": "b3cc05fd-c729-4823-2972-08dbbdc4209e",
"Text": "4",
"DateCreated": "2023-09-25T12:41:55.1023524Z",
"Type": 1,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"id\":\"e46552f2-252d-4dc3-a036-756afff901dc\",\"serviceUrl\":\"http://cai-webchat/webchat/home/push\",\"channelId\":\"TestChat\",\"from\":{\"id\":\"555\",\"name\":\"admin\"},\"conversation\":{\"id\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\"},\"recipient\":{\"id\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\",\"name\":\"3228ffb6-0fcf-4805-8734-5838d7bd98bd\"},\"text\":\"4\",\"channelData\":{\"CustomAction\":\"\",\"CustomActionData\":\"{\\\"FlowId\\\":null,\\\"IsPublished\\\":false,\\\"IsTest\\\":true,\\\"ResponseType\\\":\\\"Text\\\",\\\"buttonTitle\\\":\\\"4\\\"}\",\"ProjectName\":\"25eylul-project\",\"ResponseType\":0}}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Survey (EN)",
"FlowType": 1,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "a977b96a-551b-4b4c-88da-183397fa75cd"
},
{
"SessionId": "b3cc05fd-c729-4823-2972-08dbbdc4209e",
"Text": "Thank you for your feedback. So glad to help you😊",
"DateCreated": "2023-09-25T12:41:55.2962047Z",
"Type": 0,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"text\":\"Thank you for your feedback. So glad to help you😊\",\"attachments\":[]}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Survey (EN)",
"FlowType": 1,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "fc9cf0ca-05e9-493b-858c-89bbe237fd40"
}
],
"Ratings": [
{
"ExternalConversationId": "3228ffb6-0fcf-4805-8734-5838d7bd98bd",
"ConversationSessionId": "4fa38f8f-5a7b-4e8a-b146-9e4b4f5f78e8",
"Rating": 4,
"Comment": null,
"DateProcessed": "2023-09-25T12:41:55.2665963Z",
"Session": null,
"Id": "ad3d29a9-c3ad-45c3-94f6-08dbbdc4ccf1"
}
]
},
{
"Session": {
"Date": "2023-09-25T13:02:13.1176162Z",
"ProjectName": "25eylul-project",
"ExternalConversationId": "dc89a6e9-feba-4b6f-84cb-ca01b0402d81",
"ConversationSessionId": "78fe5bd5-4221-4d44-ad63-a87eca24beba",
"ChannelId": "SestekIVR",
"ChannelName": null,
"Duration": 6.3511354,
"LastIntent": "fallback",
"AverageSentimentScore": null,
"SentimentLevel": 2,
"ConversationSummary": null,
"CustomerName": null,
"CustomerEmailAddress": null,
"CustomerPhoneNumber": null,
"CustomerTwitterAddress": null
},
"Messages": [
{
"SessionId": "9a809f93-8f97-4917-2973-08dbbdc4209e",
"Text": "Hello, I am Knovvu Virtual Agent. How may I help you?",
"DateCreated": "2023-09-25T13:02:13.3280528Z",
"Type": 0,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"text\":\"Hello, I am Knovvu Virtual Agent. How may I help you?\",\"attachments\":[]}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Main",
"FlowType": 0,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "17d5ccf4-7008-4ca0-846a-5bfaf0eec6b6"
},
{
"SessionId": "9a809f93-8f97-4917-2973-08dbbdc4209e",
"Text": "asdxxxx",
"DateCreated": "2023-09-25T13:02:15.8405632Z",
"Type": 1,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"id\":\"7542de88-f745-4bca-bb93-1bcd803f114b\",\"serviceUrl\":\"http://cai-webchat/webchat/home/push\",\"channelId\":\"TestChat\",\"from\":{\"id\":\"555\",\"name\":\"admin\"},\"conversation\":{\"id\":\"dc89a6e9-feba-4b6f-84cb-ca01b0402d81\"},\"recipient\":{\"id\":\"dc89a6e9-feba-4b6f-84cb-ca01b0402d81\",\"name\":\"dc89a6e9-feba-4b6f-84cb-ca01b0402d81\"},\"text\":\"asdxxxx\",\"channelData\":{\"CustomAction\":\"\",\"CustomActionData\":\"{\\\"FlowId\\\":null,\\\"IsPublished\\\":false,\\\"IsTest\\\":true,\\\"ResponseType\\\":\\\"Text\\\"}\",\"ProjectName\":\"25eylul-project\",\"ResponseType\":0}}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "Main",
"FlowType": 0,
"Session": null,
"Recognitions": [
{
"ExternalConversationId": "dc89a6e9-feba-4b6f-84cb-ca01b0402d81",
"ConversationSessionId": "78fe5bd5-4221-4d44-ad63-a87eca24beba",
"MessageId": "1f7a4857-57fb-4038-bacd-0280bc2018d8",
"VirtualAgentId": "afd474b5-1eca-5116-320a-3a0dde83ae5d",
"Utterance": "asdxxxx",
"NormalizedUtterance": "asdxxxx",
"IntentId": "b19c7919-a9c2-b298-1932-3a0dde83af00",
"IntentName": "fallback",
"Confidence": 0.0,
"DateProcessed": "2023-09-25T13:02:17.248659Z",
"Id": "df21ea09-cea1-4539-b85d-08dbbdc4267a"
}
],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "1f7a4857-57fb-4038-bacd-0280bc2018d8"
},
{
"SessionId": "9a809f93-8f97-4917-2973-08dbbdc4209e",
"Text": "I couldn't understand what you said, please clarify your inquiry.",
"DateCreated": "2023-09-25T13:02:17.2579675Z",
"Type": 0,
"Source": 0,
"ContentType": 0,
"StoragePath": null,
"JsonContent": "{\"type\":\"message\",\"text\":\"I couldn't understand what you said, please clarify your inquiry.\",\"attachments\":[]}",
"SrConfidence": null,
"SentimentScore": null,
"HasRecognitionAmbiguity": null,
"FlowName": "fallback",
"FlowType": 0,
"Session": null,
"Recognitions": [],
"ExtractedNamedEntities": [],
"AmbiguousIntents": [],
"Id": "0061d8f3-40f5-4ec5-b8ac-2f661b364831"
}
],
"Ratings": []
}
]
}