Speech Analytics API: Retrieving full transcript for long calls via /api/v2/analytics/conversations/details

I’m trying to pull the full voice-to-text transcript for specific interactions using the Genesys Cloud Speech and Text Analytics API. The goal is to feed this data into our OpenTelemetry pipeline for distributed tracing of customer sentiment events.

I’m using the Python SDK (genesyscloud) and calling get_conversations_details. The issue is that the transcript field in the response seems truncated for calls longer than 5 minutes, or sometimes entirely missing if the speech_analytics object isn’t fully populated yet.

Here’s the code snippet I’m using to fetch the data:

from genesyscloud import analytics_api
from genesyscloud.analytics.api.conversations_api import ConversationsApi

api_instance = ConversationsApi(analytics_api)
try:
 # Query for a specific interaction ID
 result = api_instance.get_conversations_details(
 query_id='my_query_id',
 view_id='my_view_id',
 limit=100
 )
 for interaction in result.conversations:
 if interaction.speech_analytics and interaction.speech_analytics.transcript:
 print(f"Transcript: {interaction.speech_analytics.transcript.text}")
 else:
 print("No transcript found or incomplete")
except Exception as e:
 print(f"Exception when calling ConversationsApi->get_conversations_details: {e}")

The API returns a 200 OK status, but the JSON payload for the transcript is often empty or cut off. I’ve verified the interaction IDs exist and have completed speech analysis in the UI.

Is there a specific parameter or a different endpoint I should be hitting to get the complete text? I tried adding expands=["speech_analytics"] but it doesn’t change the output. The documentation mentions a transcripts sub-resource, but I can’t find a clear example of how to construct the query filter to include it in the details response.

Any pointers on the correct query structure or if I need to poll a separate endpoint for the full text? The current setup is breaking our trace context correlation because we’re missing key segments of the conversation.