Cancel fine-tuning
POST
https://api.openai.com/v1/fine_tuning/jobs/ftjob-abc123/cancel
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.openai.com/v1/fine_tuning/jobs/ftjob-abc123/cancel' \
--header 'Authorization: Bearer $OPENAI_API_KEY'
Response Response Example
{
"object": "fine_tuning.job",
"id": "ftjob-abc123",
"model": "gpt-4o-mini-2024-07-18",
"created_at": 1721764800,
"fine_tuned_model": null,
"organization_id": "org-123",
"result_files": [],
"hyperparameters": {
"n_epochs": "auto"
},
"status": "cancelled",
"validation_file": "file-abc123",
"training_file": "file-abc123"
}
Request
Header Params
Authorization
stringΒ
required
Example:
Bearer $OPENAI_API_KEY
Responses
Modified atΒ 2024-12-11 08:58:11