Calculate Vector Centroids via API