models

Create Model

Create a new model.

post/v1/preview/models

Request

  • Base URL
    https://api.training.wandb.ai
  • URL
    https://api.training.wandb.ai/v1/preview/models
  • Auth
    HTTP bearer

Request body

entitystring nullable

Team or username of the developer whose W&B API key is being used

projectstring required

Project name in W&B where the model will be stored

namestring required

Unique name for the model within the project

base_modelstring required

Base model identifier or HuggingFace model path to fine-tune from

return_existingboolean

If true, return existing model if one with the same name already exists instead of creating a new one

Example request

{
  "entity": "my-team",
  "project": "my-awesome-project",
  "name": "my-awesome-model",
  "base_model": "OpenPipe/Qwen3-14B-Instruct"
}

Response

Successful Response

idstring uuid required
entitystring required
projectstring required
namestring required
base_modelstring required
run_idstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.