set insight api to the hosted version if local version is not specified