api for viter engine