CXone OData query for agent state history last 24h

Trying to pull agent state history for the last 24 hours from the CXone Reporting API. Here is the OData filter I am using:

$filter=timestamp ge 2023-10-25T00:00:00Z and timestamp lt 2023-10-26T00:00:00Z

Getting a 400 Bad Request. Is the datetime format wrong or is there a specific syntax for the history endpoint?