sample api for even model