meta_only flag logged & api_key in db