Predictive Routing queue stats API 404

I’m trying to figure out why the predictive routing metrics endpoint fails.

Querying for queue observations returns 404 Not Found. The queue exists and has agents. Terraform provider version 1.45.0. Genesys Cloud org is in us-east-1. The flow uses standard skill-based routing. Is there a specific configuration flag needed for predictive analytics? The standard routing view works fine. Need this for automated reporting dashboards.

1 Like

This looks like a mismatch between the analytics view and the routing strategy. Predictive routing requires the predictive view parameter, not realtime. Check the docs here: https://developer.genesys.cloud/api-docs/analytics. It’s similar to Zendesk where you must select the correct ticket status view for accurate reporting.