using sonar qube version-6.7 sonarscanner version-3.0.3.778
api api/measures/search_history contains value only for the current(last) analysis in the history key list for new code metrics such as new_coverage, new_lines_to_cover, new_uncovered_lines etc … and not for all the remaining analysis, they contain only date parameter not the value parameter. working for other metrics like ncloc, lines, statements etc…