Skip to main content
POST
Fine-tune a model

Authorizations

Authorization
string
header
required

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

Body

application/json
base_model_id
integer<int64>
required

Id of the model to fine-tune. The model must be active and available to the caller for training.

dataset_id
integer<int64>
required

Id of the dataset to train on.

output_model
object
required

What the run publishes.

training_config
object
required
connections
object[] | null

Where to deliver the trained model once training finishes. Each profile must be an enabled profile of an installed model connector app.

Response

OK

job_id
string<uuid>
required

Id of the created training job. Poll the jobs API for status and results.