Train a model
API endpoint trains a ML model. To train a new model, the name is required and model_id should not be provided. To retrain an existing model, provide the model_id and do not provide the name.
Requires an API key with the write scope.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
target_column
dataset_id
description
task_type
quality_preset
feature_columns
image_columns
problem_type
ml_model_id
name
Response
OK
id
name
task_type
description
target_column
feature_columns
image_columns
problem_type
currently_active
status
version_number
dataset_id
quality_preset
error_message
training_started_at
training_completed_at
evaluation_metrics
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
503
Service Unavailable Error