v53

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-041,1941,9384.1 MB
Fine Tuning

Cancel a fine tuning job

Cancel a fine tuning job.

post/ai/fine_tuning/jobs/{job_id}/cancel

Path parameters

job_idstring required

Unique identifier of the job.

Response

Successful Response

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.

idstring required

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

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.