API Run XDR query - From/to time period

I have a little problem with from/to time period when I'm running Live Discover query.
I tried adding in body "from/to" in all configuration as stated in XDR Query API | Sophos Central APIs, but every time it only executes in last 24h period. Could anyone please guide me how i should put my api request?