Total Audited Interactions
Description
Queries aggregate evaluation data to retrieve the count of evaluations (nEvaluations) completed.
Business Application
Tracks the Volume of Quality Checks performed by supervisors. Ensures that a sufficient sample size of interactions is being audited to maintain quality standards.
Endpoint
POST https://api.mypurecloud.de/api/v2/analytics/evaluations/aggregates/query
Request
Headers
- Authorization: Bearer Token
- Content-Type:
application/json
Body Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
interval |
DateTime | Yes | Time range for this query (e.g., <START_DATE>/<END_DATE>). Dynamic: Calculate based on current date. |
metrics |
Array | Yes | Requested Metrics (e.g., ["nEvaluations"]) |
Sample Request
{
"interval": "2025-11-04T22:00:00.000Z/2025-11-18T22:00:00.000Z",
"metrics": [
"nEvaluations"
]
}
CURL Example
curl -X POST 'https://api.mypurecloud.de/api/v2/analytics/evaluations/aggregates/query' \
-H 'Authorization: Bearer *******************' \
-H 'Content-Type: application/json' \
--data-raw $'{"interval":"2025-11-04T22:00:00.000Z/2025-11-18T22:00:00.000Z","metrics":["nEvaluations"]}'
Response
Body Parameters
| Name | Type | Description |
|---|---|---|
results |
Array | Array of results |
metrics |
Array | Array of the requested metrics with stats (count) |
Sample Response
{
"results": [
{
"data": [
{
"interval": "2025-11-04T22:00:00.000Z/2025-11-18T22:00:00.000Z",
"metrics": [
{
"metric": "nEvaluations",
"stats": {
"count": 610
}
}
]
}
]
}
]
}