Adding the batch anomaly scores REST functions

isn't indentation a bit off here?