Hello Rodrigo,
Here is the complete query -
POST /api/v2/analytics/knowledge/aggregates/query HTTP/1.1
Host: api.mypurecloud.de
Authorization: Bearer *******************
Content-Type: application/json
{"interval":"2026-05-10T23:00:00.000Z/2026-05-11T23:00:00.000Z","granularity":"P1D","groupBy":["searchQuery","searchId","knowledgeBaseDocumentId"],"metrics":["nKnowledgeSearchAnswered"]}
------------------------------
Jyoti Sharma
Senior Design Consultant
------------------------------
Original Message:
Sent: 05-12-2026 14:29
From: Rodrigo Soares
Subject: Analytics API - post /api/v2/analytics/knowledge/aggregates/query
Hello Jyoti,
Aggregate queries are limited in the granularity of the interval. Do you mind sharing the query JSon, so we could help you troubleshoot, better?
------------------------------
Rodrigo Romao
NALA Team Lead - Genesys - Employees
Original Message:
Sent: 05-12-2026 10:19
From: Jyoti Sharma
Subject: Analytics API - post /api/v2/analytics/knowledge/aggregates/query
I am running into a issue with Aggregate API when I run it to fetch data for full day -
The request failed with response code: 400. Message: Result set is larger than result limit. Avoid grouping on high-cardinality fields, or use filter predicates to reduce the number of groups for that field.
The query runs smoothly when ran for half a day. So currently we are extracting data twice in a day.
Could you please help me to know the limit?
Is there a way to increase this limit?
#PlatformAPI
------------------------------
Jyoti Sharma
Senior Design Consultant
------------------------------