recovery Criteria api wiki page