Train a predictive model
Fit the named predictive model over the tenant’s current profiles and return a training report — algorithm, training sample size, evaluation metrics (AUC / log-loss / accuracy for classification, R² / RMSE / MAE for regression), the learned intercept, and the standardised per-feature coefficients (feature importances). The fit is cached briefly per (tenant, model) so an immediately-following score call reuses it. When there are too few resolved-outcome samples to fit, the endpoint returns 422 with a status: "insufficient_data" report instead of a trained one. Owner / admin / developer only.
Authorizations
Dashboard JWT token from Clerk
Path Parameters
Model key from GET /api/v1/cdp/predictive-models.
churn_propensity, conversion_intent, lifetime_value, engagement_fatigue Response
The model was fitted; a training report is returned.