Can anyone explain why the bot analytics endpoint returns a 422 Unprocessable Entity when filtering by specific WFM schedule IDs? We are trying to correlate bot deflection rates with our Chicago team’s published schedules using the Genesys Cloud SDK (v4.0.12). The goal is to see if adherence dips correlate with bot handoff spikes during peak shifts.
When calling /api/v2/analytics/bots/interactions/query with a scheduleId filter in the where clause, the response indicates a malformed query structure. The documentation suggests this filter should be supported for workforce segmentation, but the payload validation fails consistently. Our environment is a standard US-East deployment, and the schedule IDs are verified as active and published for the current week.
- Verified the schedule IDs via the WFM API and confirmed they match the format expected by the analytics engine. No typos or invalid UUIDs.
- Attempted to simplify the where clause to remove other filters, isolating the
scheduleIdparameter, but the 422 error persists regardless of other query components.
This blocks our weekly review of agent-bot interaction quality. Is there a known limitation with joining bot analytics to WFM schedule data, or is the syntax for this filter different than standard user attributes?