Hello,
We are trying to retrieve the UserEvaluations data for a time interval (precisely a day). However when tried querying the below Api with startTime and endTime parameters , the api errors out with a message
Response:
{
"message": "Must specify one of 'conversationId', 'agentUserId', or 'evaluatorUserId', or 'agentTeamId', or 'assigneeUserId'",
"code": "bad.request",
"status": 400,
"contextId": "789a60ae-07a2-4424-b2ef-c63eca5c304a",
"details": [],
"errors": []
}
I understand the message is saying that another parameter is required. But, none of the filters allow us to efficiently get this data (for the entire organization).
• By Conversation would be too many queries.
• By any of the agent fields would be very inefficient and most queries would return nothing.
• We can’t figure out how to get a list of all evaluators so we’d be able to loop through those.
• The only one we think would work is by agentTeamId – but we created evaluations for users on a team, and the teamId wasn’t populated.
Is there any way that we could get this data without specifying any of the above filters. And if we have to specify a filter, is there any way to do it efficiently?
Thanks.