Cancel fine-tuning
Immediately cancel a fine-tune job.
Path parameters
-
The ID of the fine-tuning job to cancel.
POST
/fine_tuning/jobs/{fine_tuning_job_id}/cancel
curl \
-X POST https://api.openai.com/v1/fine_tuning/jobs/ft-AF1WoRqd3aJAHsqc9NY7iL8F/cancel \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"created_at": 42,
"error": {
"code": "string",
"message": "string",
"param": "string"
},
"fine_tuned_model": "string",
"finished_at": 42,
"hyperparameters": {
"n_epochs": "auto"
},
"model": "string",
"object": "fine_tuning.job",
"organization_id": "string",
"result_files": [
"file-abc123"
],
"status": "validating_files",
"trained_tokens": 42,
"training_file": "string",
"validation_file": "string",
"integrations": [
{
"type": "wandb",
"wandb": {
"project": "my-wandb-project",
"name": "string",
"entity": "string",
"tags": [
"custom-tag"
]
}
}
],
"seed": 42,
"estimated_finish": 42
}