Add new alerta api endpoint for alert history