Last updated 9 months ago
Was this helpful?
OpenAI
The ID of the fine-tuning job to cancel.
ft-AF1WoRqd3aJAHsqc9NY7iL8F
The fine_tuning.job object represents a fine-tuning job that has been created through the API.
fine_tuning.job
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"
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 }