Training
Submit Controller
Model creation via API.
post/api/v1/models/train/new
Request body
dataset_idstring required
The ID of the dataset to train the model on.
durationinteger required
Integer corresponding to how much time we should spend on training. Higher values will take longer but generally be more accurate. Allowed values: 10 (Fastest), 60 (High Quality), 300 (Higher Quality), 1800 (Production)
extra_attentionboolean
Helps with predicting rare cases.
forceboolean
Forces the creation of a new model even if another currently exists.
ignore_fieldsstring[]
An array of field names to ignore (case sensitive).
predict_fieldsstring[] required
An array of field names to predict (case sensitive).
Response
Successful Response
task_idstring required
The ID of the task that was started. This is generally queryable at a nearby /status endpoint to get the current status of the task.