v47

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-181,0851,7264.5 MB
Fine Tuning

Create a fine tuning job

Create a new fine tuning job.

post/ai/fine_tuning/jobs

Request body

modelstring required

The base model that is being fine-tuned.

training_filestring required

The storage bucket or object used for training.

suffixstring

Optional suffix to append to the fine tuned model's name.

Response

Successful Response

idstring required

The name of the fine-tuned model that is being created.

created_atinteger required

The Unix timestamp (in seconds) for when the fine-tuning job was created.

finished_atinteger nullable required

The Unix timestamp (in seconds) for when the fine-tuning job was finished. The value will be null if the fine-tuning job is still running.

modelstring required

The base model that is being fine-tuned.

organization_idstring required

The organization that owns the fine-tuning job.

status'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' required

The current status of the fine-tuning job.

trained_tokensinteger nullable required

The total number of billable tokens processed by this fine-tuning job. The value will be null if the fine-tuning job is still running.

training_filestring required

The storage bucket or object used for training.