Skip to main content
POST
Retrain Model
Reuses the same model configuration (type, label column, input columns) from the previous version. Provide exactly one of dataset_version_id or dataset_id. Returns a job_id for polling.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

model_id
string<uuid>
required

Body

application/json

Request to retrain an existing model with new data.

Provide exactly one of dataset_id or dataset_version_id. The model configuration (type, label column, etc.) is inherited from the previous version.

dataset_version_id
string<uuid>

Pin a specific dataset version for retraining.

dataset_id
string<uuid>

Dataset to retrain on (uses latest ready version).

Response

Successful Response

Response for training a model.

model
ModelVersionRef · object
required

Model version reference.

job_id
string<uuid>
required
status
string
required
woodwide_runtime_version
string
required