Building a daily export job that pulls Genesys Cloud interaction data and pushes it to S3. The analytics_api.get_reporting_interactions() call works fine for single days, but when I pass a date range covering the last 24 hours, the Genesys endpoint returns a 504 Gateway Timeout.
resp = analytics_api.get_reporting_interactions(
from_date=datetime.utcnow() - timedelta(days=1),
to_date=datetime.utcnow()
)
The payload is massive. Should I be chunking the request into smaller time windows before sending to boto3, or is there a streaming option I’m missing in the SDK?