How to get historical presence data

Hi, I want to access the historical log of user presence from a Homey device to automate flows. Can I retrieve the historical user presence using the cloud API?
I am trying to get some historical data for analysis (the past 1 month or so).