Measuring the finite-frequency response of a bosonic quantum impurity