Start fine-tuning jobs to train a model on your dataset.
The following APIs can be used to fine-tune any model on the Forefront platform. For more information on fine-tuning, see our guide.

Upload dataset

Use the following cURL command to upload your dataset. The server will respond with the Dataset object. You will need to use the Dataset ID to start a fine-tuning job.
Example request
Example response
curl \
-F [email protected]{team_id}/datasets \
-H "Authorization: Bearer <api_key>"

Get models

Next, you'll need to get the ID of the model that you want to fine-tune.
Get models

Create fine-tuning job

Once you have your dataset and model ID, you can start a fine-tuning job.
Create fine-tuning job