Get the value of an AI agent metric for a period. All aggregates of the metric are returned. If nothing matches, the counts are 0. Deleted AI agents are included.
Security
ApiKeyAuth
The query
POST
- aiAgentFeedback · Interval · All AI agents
- aiAgentJoined · Preset · One AI agent
- aiAgentToolCalls · Interval · Chat only
curl -i -X POST \
'https://dev.dixa.io/beta/intelligence/aiagents/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"
}'The metric values, keyed by aggregate name
Response
- aiAgentFeedback · Interval · All AI agents
- aiAgentJoined · Preset · One AI agent
- aiAgentToolCalls · Interval · Chat only
The number of rated answers, and how many were rated thumbs up and thumbs down
{ "data": { "count": 412, "thumbsUp": 351, "thumbsDown": 61 } }