log for api get