added API handler proto