Compute a conversation-anchored metric over a period or a set of conversations. Every aggregate the catalogue advertises is returned, zero-valued when the query matched nothing.
Security
ApiKeyAuth
POST
- Period, with filters
- Specific conversations
curl -i -X POST \
'https://dev.dixa.io/beta/intelligence/conversations/metrics/{metricId}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"primaryFilter": {
"period": {
"interval": {
"from": "2026-06-01T00:00:00Z",
"to": "2026-07-01T00:00:00Z"
}
}
},
"filters": [
{
"attribute": "queue",
"values": [
"2f9b6d51-38c4-4a72-9e15-7c8b3f6a2d90"
],
"operator": "IsOne"
},
{
"attribute": "initialDirection",
"values": [
"Inbound"
]
}
],
"timezone": "Europe/Copenhagen"
}'Response
- Count
- Duration statistics
An event metric returns a single whole number
{ "data": { "count": 1284 } }