Skip to main content
POST
Create Model

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 Model.

project
string
required

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

Example:

"my-awesome-project"

name
string
required

Unique name for the model within the project

Example:

"my-awesome-model"

base_model
string
required

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

Example:

"OpenPipe/Qwen3-14B-Instruct"

entity
string | null

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

Example:

"my-team"

return_existing
boolean
default:false

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

Response

Successful Response

Schema for Model response.

id
string<uuid>
required
entity
string
required
project
string
required
name
string
required
base_model
string
required
run_id
string | null