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

# How can I delete multiple runs in bulk instead of one at a time?

Use the [public API](/models/ref/python/public-api/api) to delete multiple runs in a single operation:

```python theme={null}
import wandb

api = wandb.Api()
runs = api.runs('<entity>/<project>')
for run in runs:
    if <condition>:
        run.delete()
```

***

<Badge stroke shape="pill" color="orange" size="md">[Projects](/support/models/tags/projects)</Badge><Badge stroke shape="pill" color="orange" size="md">[Runs](/support/models/tags/runs)</Badge>
