add resolve term client api