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

# W&B でこれらのバージョン ID と ETag を取得するにはどうすればよいですか？

artifact の参照を W\&B にログし、バケットでバージョン管理を有効にすると、バージョン ID は Amazon S3 UI に表示されます。W\&B でこれらのバージョン ID と ETag を取得するには、artifact を取得し、対応するマニフェストエントリを読み取ります。たとえば、次のようになります。

```python theme={null}
artifact = run.use_artifact("my_table:latest")
for entry in artifact.manifest.entries.values():
    versionID = entry.extra.get("versionID")
    etag = entry.extra.get("etag")
```

***

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