Receives threshold values from API