Quality API: Linking CSAT responses to specific interactions

Hey folks,

I’m trying to pull CSAT survey responses and tie them back to the original conversation using the Quality API. I can get the evaluations, but there’s no clear link to the interaction ID in the response.

I’m using Python with the Genesys Cloud SDK. Here’s what I’m doing:

evals = client.quality_api.get_quality_evaluation(evaluation_id)

The response gives me scores and comments, but nothing that points back to the conversation ID. How do I map this? I need the conversation ID to fetch the transcript.

The interaction ID is nested in the interaction object of the evaluation response. Check evals.interaction.id or evals.interaction.uri in the SDK.

interaction_id = evals.interaction.id if evals.interaction else None