KPI builder API enhancements