Cleaning up Finetunes

I’d like to be able to remove fine tunes through an api. How could I “clean up” unneeded fine-tunes files?

1 Like

Hi @antonio.ciolino,

Here’s how to delete a fine-tuned model.

Here’s how to list all files uploaded to OpenAI. This should help you find the files you have uploaded.

Once you choose the unneeded files, you can delete them.

1 Like

Thanks. I kept reading FineTunes.delete in my code.

After running that, the playground looks good, but the models still come back from the API, though with a status of “deleted” - do those get purged, or are they kept for some time and are recoverable?

Follow up for others: they get purged eventually.

1 Like