Skip to main content
POST
Create a fine-tune job

Authorizations

Authorization
string
header
required

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

Body

application/json

Create fine-tune request

Request payload to create a fine-tune job for a repository.

base_model
string
required

Canonical name of the base model to fine-tune

resource
string
required

Repository path to the training data file or directory

script_type
string
required

Name of the fine-tune script to run

is_public
boolean
default:false

Whether the resulting fine-tuned model should be public. Defaults to false.

oxen_model_path
string | null

Optional override for where the resulting model weights live in Oxen. Defaults to the fine-tune resource.

training_params
object

Training configuration parameters

Response

Create fine-tune response

Standard wrapper for fine-tune responses.

fine_tune
FineTune · object

Fine-tune job resource

status
string

High-level status string (for example, 'success').

status_message
string

Human-readable status message (for example, 'resource_found').