Skip to main content
POST
Train a predictive model

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

model
enum<string>
required

Model key from GET /api/v1/cdp/predictive-models.

Available options:
churn_propensity,
conversion_intent,
lifetime_value,
engagement_fatigue

Response

The model was fitted; a training report is returned.

data
object

A predictive-model training report. When status is trained it carries the evaluation metrics, learned intercept, and per-feature coefficients; when status is insufficient_data it carries the reason and the sample count that fell short.

meta
object