rtsang | 2018-08-13 21:46:49 UTC | #1
Hi,
I use to be able to run this query via the API:
{ "interval": "2018-06-02T13:00:00.000Z/2018-07-03T13:00:00.000Z", "granularity": "PT1H", "groupBy": [ "userId" ], "metrics": [ "nEvaluations", "oTotalCriticalScore", "oTotalScore" ] }
But now it's returning:
{ "status": 400, "code": "bad.request", "message": "Requested metrics are not supported for aggregate queries in scope SESSION", "messageParams": {}, "contextId": "c43057f8-2b8d-4b2f-a4f1-9587d58a0941", "details": [], "errors": [] }
What's the way to request these metrics for the evaluations?
tim.smith | 2018-08-10 13:58:46 UTC | #2
It looks like you made that request to POST api/v2/analytics/conversations/aggregates/query. That request body works for me with POST /api/v2/analytics/evaluations/aggregates/query. Are you intending to use the evaluations query endpoint?
system | 2018-09-10 13:58:48 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 3351