Skip to main content
POST
/
v1
/
preview
/
models
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "entity": "<string>",
  "project": "<string>",
  "name": "<string>",
  "base_model": "<string>"
}

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

Examples:

"my-awesome-project"

name
string
required

Unique name for the model within the project

Examples:

"my-awesome-model"

base_model
string
required

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

Examples:

"OpenPipe/Qwen3-14B-Instruct"

entity
string | null

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

Examples:

"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
I