last measurement api call