> ## 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.

# 完了した run のグループを変更するにはどうすればよいですか？

API を使用して、完了した run に割り当てられたグループを変更できます。この機能は Web UI には表示されません。グループを更新するには、次のコードを使用します。

```python theme={null}
import wandb

api = wandb.Api()
run = api.run("<ENTITY>/<PROJECT>/<RUN_ID>")
run.group = "NEW-GROUP-NAME"
run.update()
```

***

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