v1

latestOpenAPI 3.1.02026-08-04282319386.0 KB
modeling

Predict Controller

post/modeling/propensity/predict

Request body

model_idinteger required

The ID of the model to use for prediction

time_in_daysinteger required

The time in days to predict

prediction_sqlstring nullable

The SQL to use for prediction.

audience_idstring nullable

The ID of the audience to use for prediction. If set will override prediction_sql.

Response

Successful Response

idinteger nullable

ID of this object.

created_atstring date-time nullable

datetime object representing when this object was created.

updated_atstring date-time nullable

datetime object representing when this object was updated.

deleted_atstring date-time nullable

datetime object representing when this object was deleted.

status'RUNNING' | 'COMPLETED' | 'FAILED'
endpointstring

Endpoint spawning async job

errorstring nullable

error message