report api prototype