Skip to main content
POST
Create Sft Training Job

Authorizations

Authorization
string
header
required

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

Body

application/json

Schema for creating a new SFT (Supervised Fine-Tuning) TrainingJob.

The client should upload the training data (trajectories.jsonl and metadata.json) to W&B Artifacts and provide the artifact URL.

model_id
string<uuid>
required
training_data_url
string
required

W&B artifact path for training data (e.g., 'wandb-artifact:///entity/project/artifact-name:version')

config
SFTTrainingConfig · object | null

Schema for SFT training config.

experimental_config
Experimental Config · object | null

Response

Successful Response

Schema for TrainingJob response.

id
string<uuid>
required