Cancel Fine-tuning
Authorizations
Path parameters
fine_tuning_job_idstringRequiredExample:
The ID of the fine-tuning job to cancel.
ft-AF1WoRqd3aJAHsqc9NY7iL8F
Responses
200
OK
application/json
post
curl -X POST https://api.portkey.ai/v1/fine_tuning/jobs/ftjob-abc123/cancel \
-H "x-portkey-api-key: $PORTKEY_API_KEY" \
-H "x-portkey-virtual-key: $PORTKEY_PROVIDER_VIRTUAL_KEY"
200
OK
{
"id": "text",
"created_at": 1,
"error": {
"code": "text",
"message": "text",
"param": "text"
},
"fine_tuned_model": "text",
"finished_at": 1,
"hyperparameters": {
"n_epochs": "auto"
},
"model": "text",
"object": "fine_tuning.job",
"organization_id": "text",
"result_files": [
"file-abc123"
],
"status": "validating_files",
"trained_tokens": 1,
"training_file": "text",
"validation_file": "text",
"integrations": [
{
"type": "wandb",
"wandb": {
"project": "my-wandb-project",
"name": "text",
"entity": "text",
"tags": [
"custom-tag"
]
}
}
],
"seed": 1,
"estimated_finish": 1
}
Last updated
Was this helpful?