We are getting almost 50min-1 hour old data using IoT time Series API with LastValue
Solution
The latestValue API uses our aggregates to get the latest value. The aggregate data gets generated 1-2 hours after data ingestion. This is the cause of the delay of almost 1-2 hours for getting the latest value.
This is a known issue with the latestValue:
Notes
The latestRecord could be used, but it might not have all the variables specified in the query, as it will only show the variable with the latest timestamp; the last record with whatever variables present in it.
For additional support, please create a support case via the Support Centre.