Conversation Execution Statistics
Use the conversation execution request to get the conversation statistics for each policy category, this includes total conversations that have been in contact by the policy category, as well as total affected, total known exceptions, and total alerts for each policy category - set a time range for the request to get the statistics for a specific time frame.
Endpoint
Method: POST
URL: /analytics/policy/conversation-execution
Request Parameter
Parameter Name | Data Type | Description | Required/Optional |
|---|---|---|---|
| Array | Set the time range to get the conversation execution statistics for a specific time frame, this array consists of a | Required |
| Date Time | Set the earlier time frame parameter for the | Required |
| Date Time | Set the later time frame parameter for the | Required |
For an example request, see Sample Request.
Response and Error Code
Response Code | Condition |
|---|---|
200 | OK |
Response Parameter
Parameter Name | Data Type | Description |
|---|---|---|
| Array | Get the total affected conversations for each policy category, this array consists of the the |
| String | Specifies the policy category that the following
|
| Number | The quantity of conversations that have interacted with the previously stated |
| Array | Detailed statistical information for each policy category, this array includes parameters |
| String | Specifies the policy category that the following |
| Array | Detailed statistical information for the previously stated |
| String | Specifies the status that the following
|
| Number | The quantity of conversations for the previously stated |
For an example response, see Sample Response.
Sample Request
{
"time_range":{
"start_time":"2024-01-01T00:00:00.000Z",
"end_time":"2024-12-31T23:59:59.999Z"
}
}Sample Response
{
"policyCategoryConvStats": [{
"policyCategory": "POLICY_CATEGORY_LOCKS",
"conversationCount": "10"
}, {
"policyCategory": "POLICY_CATEGORY_EXPORT",
"conversationCount": "20"
}, {
"policyCategory": "POLICY_CATEGORY_TRANSCRIPTION",
"conversationCount": "0"
}, {
"policyCategory": "POLICY_CATEGORY_RECORDING",
"conversationCount": "45"
}, {
"policyCategory": "POLICY_CATEGORY_STORAGE",
"conversationCount": "4180"
}, {
"policyCategory": "POLICY_CATEGORY_ACCESS_CONTROL",
"conversationCount": "0"
}],
"policyCategoryConvExecStats": [{
"policyCategory": "POLICY_CATEGORY_LOCKS",
"stats": [{
"status": "EXECUTION_STATUS_AFFECTED",
"conversationCount": "10"
}, {
"status": "EXECUTION_STATUS_KNOWN_EXCEPTION",
"conversationCount": "0"
}, {
"status": "EXECUTION_STATUS_ALERT",
"conversationCount": "0"
}]
}, {
"policyCategory": "POLICY_CATEGORY_EXPORT",
"stats": [{
"status": "EXECUTION_STATUS_AFFECTED",
"conversationCount": "20"
}, {
"status": "EXECUTION_STATUS_KNOWN_EXCEPTION",
"conversationCount": "0"
}, {
"status": "EXECUTION_STATUS_ALERT",
"conversationCount": "0"
}]
}, {
"policyCategory": "POLICY_CATEGORY_TRANSCRIPTION",
"stats": [{
"status": "EXECUTION_STATUS_AFFECTED",
"conversationCount": "0"
}, {
"status": "EXECUTION_STATUS_KNOWN_EXCEPTION",
"conversationCount": "0"
}, {
"status": "EXECUTION_STATUS_ALERT",
"conversationCount": "0"
}]
}, {
"policyCategory": "POLICY_CATEGORY_RECORDING",
"stats": [{
"status": "EXECUTION_STATUS_AFFECTED",
"conversationCount": "45"
}, {
"status": "EXECUTION_STATUS_KNOWN_EXCEPTION",
"conversationCount": "0"
}, {
"status": "EXECUTION_STATUS_ALERT",
"conversationCount": "0"
}]
}, {
"policyCategory": "POLICY_CATEGORY_STORAGE",
"stats": [{
"status": "EXECUTION_STATUS_AFFECTED",
"conversationCount": "3485"
}, {
"status": "EXECUTION_STATUS_KNOWN_EXCEPTION",
"conversationCount": "694"
}, {
"status": "EXECUTION_STATUS_ALERT",
"conversationCount": "1"
}]
}, {
"policyCategory": "POLICY_CATEGORY_ACCESS_CONTROL",
"stats": [{
"status": "EXECUTION_STATUS_AFFECTED",
"conversationCount": "0"
}, {
"status": "EXECUTION_STATUS_KNOWN_EXCEPTION",
"conversationCount": "0"
}, {
"status": "EXECUTION_STATUS_ALERT",
"conversationCount": "0"
}]
}]
}