Extend API Histories endpoint to cover last 7 days