Hey team,
Running into a weird limit issue with the /api/v2/analytics/speech/textanalytics/results/{resultId} endpoint. We’re trying to pull the full conversation transcript for quality assurance reviews using the Python SDK.
The setup is straightforward. We trigger the transcription asynchronously, get the resultId from the webhook, and then poll the endpoint until status is COMPLETE. Once it’s done, we fetch the details. The issue is the text field in the transcriptions array. It’s cutting off after exactly 16,384 characters. The call was only 12 minutes long, so there’s definitely more text to go around.
Here’s the snippet I’m using to fetch it:
import genesyscloud
# ... auth setup ...
analytics_api = genesyscloud.analytics.AnalyticsApi(config)
result_id = "some-long-uuid-here"
try:
api_response = analytics_api.post_analytics_speech_textanalytics_results(result_id)
for trans in api_response.body.transcriptions:
print(f"Speaker: {trans.speaker}")
print(f"Text length: {len(trans.text)}")
print(trans.text) # This is where it cuts off
except Exception as e:
print(f"Error: {e}")
The response comes back with a 200 OK. No errors in the body. The JSON structure looks fine, just the text is abruptly cut mid-sentence. I’ve checked the maxResults parameter but that seems to control the number of items, not the length of the string.
Is there a pagination mechanism for the text itself? Or maybe a different endpoint for large transcripts? I’ve searched the docs and found nothing about character limits on the transcription text field. It feels like a bug, but wanted to check if I’m missing a flag or something.
Thanks.