Trying to pull agent state history for the last 24 hours via the CXone Reporting API. The standard filter syntax feels off when handling the time range.
Using GET /api/v2/reporting/agents/states?interval=PT1H&date_from=2023-10-27T00:00:00.000Z&date_to=2023-10-28T00:00:00.000Z.
Getting a 400 Bad Request. Is the OData filter format different for this endpoint? Need the exact query string to fetch granular state changes without hitting rate limits.