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

# How do I set the run name to the run ID?

To overwrite the run name with the run ID, use the following code snippet:

```python theme={null}
import wandb

with wandb.init() as run:
   run.name = run.id
   run.save()
```

***

<Badge stroke shape="pill" color="orange" size="md">[Experiments](/support/models/tags/experiments)</Badge>
