CXone Reporting API v2: OData filtering for Agent State History (last 24h)

Quick question about the CXone Reporting API (v2) and OData query syntax for retrieving agent state history. I need to pull a precise dataset of agent state transitions for the last 24 hours using the /api/v2/reporting/agents/{agentId}/states endpoint. The documentation suggests standard OData filters, but applying a time-based filter on the timestamp field seems to behave inconsistently when combined with state type filters. Specifically, I’m trying to exclude idle states while capturing all active and break states within a rolling 24-hour window.

Here is the current GET request structure I’m testing: GET /api/v2/reporting/agents/{agentId}/states?$filter=timestamp ge 2023-10-27T14:00:00Z and stateType ne 'IDLE'&$orderby=timestamp asc. The response returns a 200 OK, but the data set appears truncated or missing specific transition events that I can see in the CXone UI for the same timeframe. I’ve verified the UTC offset and timezone handling on the client side, so the issue likely lies in how the OData parser interprets the ge operator with the timestamp field or how the pagination is handled for this specific resource. Is there a known limitation with filtering stateType in conjunction with time ranges in this endpoint, or should I be using a different query parameter structure to ensure complete event capture?