Trying to pull CSAT survey responses that are tied to specific voice interactions. The goal is to join the evaluation score with the survey feedback in a custom reporting dashboard.
The problem is that POST /api/v2/quality/evaluations/search returns a 404 Not Found when I try to query by the interactionId that I know has associated survey data.
Here is the request body I’m sending:
{
"query": {
"interactionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
"fields": ["score", "surveyResponse", "interactionId"]
}
I’ve verified the interaction ID exists in the Conversation History API and it definitely has a completed survey. The survey response is visible in the Admin UI under Quality → Evaluations.
I’ve tried:
- Querying with just the
interactionId. Returns 404. - Adding a date range to the query. Still 404.
- Using the
surveyResponsefilter directly. Returns empty results, not an error, but no data.
Is there a delay in the indexing? Or am I hitting the wrong endpoint? The docs say this endpoint should return evaluations including survey data.
The interaction happened 2 hours ago. I’m using the Genesys Cloud Python SDK v2.200.0. The token has quality:evaluation:read scope.
Any idea why the search is failing?