EventBridge lag between /api/v2/conversations and /api/v2/analytics/conversations endpoints

Hey everyone, I’ve run into a really strange issue with my Kafka Connect source connector. I’m polling /api/v2/conversations for real-time state but my analytics sink expects data from /api/v2/analytics/conversations. The EventBridge webhook fires a conversation.updated event, yet the analytics endpoint returns an empty data array for 15-30 seconds after the v2 endpoint shows the conversation as active.

“The analytics API provides aggregated and historical data… it is not intended for real-time state retrieval.”

Is there a documented propagation delay I need to code around, or should I just ignore the analytics endpoint for active session tracking?

Make sure you stop expecting real-time data from the analytics endpoint because the documentation explicitly states that “analytics data is not available in real-time” and you must wait for the processing window. Your Kafka connector needs to poll /api/v2/conversations for immediate state changes and only query /api/v2/analytics/conversations for historical aggregation after the delay.

TL;DR: Analytics latency is inherent, so decouple triggers from aggregation.

This looks like a classic polling trap. I handle this in Zapier by using conversation.updated for immediate state changes while queuing a separate task for the analytics query. Do not poll /api/v2/analytics/conversations/details/query in the same trigger loop; the 30s lag will cause your Zap to fail or duplicate data.