> ## Documentation Index
> Fetch the complete documentation index at: https://starforge.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# sf clean

> Delete an experiment's checkpoints and logs

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
sf clean my-grpo
```

Deletes the checkpoints and logs an experiment's runs produced, freeing storage counted against your
quota. Asks for confirmation first; `-y` skips it.

<Warning>
  This removes artifacts, not the experiment. `config.yaml` and `recipe.lock.json` stay, so the
  experiment can be resubmitted — but any checkpoint you had not exported is gone, and so is the
  ability to start a new run with `--init-from` pointing at it.
</Warning>

Check what a run still holds with [`sf job status`](/en/cli/job) before cleaning, and
[export](/en/cli/export) anything worth keeping first.

## `sf clean`

Delete an experiment's checkpoints and logs

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
sf clean <EXP> [options]
```

| Argument | Description                            |
| -------- | -------------------------------------- |
| `EXP`    | Experiment name or path (**required**) |

| Option        | Description           |
| ------------- | --------------------- |
| `--yes`, `-y` | Skip the confirmation |
