Allowed Date Range for Historics



After a call to the historics/prepare endpoint I received the message:

“The timeframe must be under one month.”

I’ve interpreted this message to mean I am only able to request one month’s worth of historics data at a time. Is that correct? If I want the data for two months do I then have to make two calls to the API?

Many thanks



Correct. We currently only allow the creation of Historics jobs that have a maximum length of 31 days. To get two months of data, you will need to prepare two separate Historics queries. 


OK that’s good to know. Thanks for the quick reply.