namannassa1997 | 2021-11-18 02:10:20 UTC | #1
Hi,
I am trying to get all the evaluations from a specific evaluator for a specific time period. I am using this endpoint - GET /api/v2/quality/evaluations/query
The result I am getting is missing the 'answers' section in the response.
But while using this endpoint - GET /api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}
I am getting the answers section in response.
This adds an extra API I need to call just to get the answers section.
Could you please let me know why I am not getting the answers section in the first API - /api/v2/quality/evaluations/query ??
namannassa1997 | 2021-11-16 08:52:21 UTC | #2
For reference - I am getting the answers section in the 2nd API - api/v2/quality/conversations/{}/evaluations/{}
Jason_Mathison | 2021-11-19 09:02:26 UTC | #3
Did you try the expandAnswerTotalScores=true option for the query API? Another possible answer is to add expand=answers to your query string.
--Jason
namannassa1997 | 2021-11-19 09:02:24 UTC | #4
Thanks, Jason.
Got the result after using expandAnswerTotalScores=true
system | 2021-12-20 09:03:23 UTC | #5
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: 12659