add identity_threshold and feature_threshold options to API