Add API interface and getWarp method