Adding API for retrieving validation results