added an API method to get the values for an alert in the past. This allows to implement features like "Test Alert"