Compute an agent-anchored metric over a period. Every aggregate the catalogue advertises is returned, zero-valued when the query matched nothing. Deactivated agents are included.
Security
ApiKeyAuth
The metric query: its primary anchor, any secondary filters and the timezone
POST
- IntervalPeriod
- PresetPeriod
- Whole organization
- One agent, preset period
curl -i -X POST \
'https://dev.dixa.io/beta/intelligence/agents/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"
}
}
},
"timezone": "Europe/Copenhagen"
}'Response
- Presence breakdown
- Nobody present
Working time with per-media-type availability, and away time broken down by custom status
{ "data": { "working": { … }, "away": { … } } }