Updated API to include check name and id