Training
Body
dataset_idstringRequired
The ID of the dataset to train the model on.
durationintegerRequired
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_attentionbooleanOptionalDefault:
Helps with predicting rare cases.
falseforcebooleanOptionalDefault:
Forces the creation of a new model even if another currently exists.
falseignore_fieldsstring[]OptionalDefault:
An array of field names to ignore (case sensitive).
[]predict_fieldsstring[]Required
An array of field names to predict (case sensitive).
Other propertiesanyOptional
Responses
201
Successful Response
application/json
422
Validation Error
application/json
post
/api/v1/models/train/newPath parameters
task_idstringRequired
Responses
200
Successful Response
application/json
metadataone ofRequired
Metadata, contextually dependent on the status of the task being queried.
or
or
or
statusstring · enumRequiredPossible values:
The current status of the task being queried.
Other propertiesanyOptional
422
Validation Error
application/json
get
/api/v1/models/train/{task_id}/statusExample Call Sequence
HTTP Headers
Header Name
Required
Value
1. Create Request
2. Query for Task Status
3. Query for Result
Last updated
Was this helpful?