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

# Artifacts

<Card title="How can I fetch these Version IDs and ETags in W&B?" href="/support/models/articles/how-can-i-fetch-these-version-ids-and-et" arrow="true" horizontal>
  If you log an artifact reference with W\&B and enable versioning on the buckets, the version IDs appear in the Amazon S3  ...
</Card>

<Card title="How can I find the artifacts logged or consumed by a run? How can I find the runs that produced or consumed an artifact?" href="/support/models/articles/how-can-i-find-the-artifacts-logged-or-c" arrow="true" horizontal>
  This page shows you how to trace the relationships between runs and artifacts in W\&B. You can find which run produced or ...
</Card>

<Card title="How do I best log models from runs in a sweep?" href="/support/models/articles/how-do-i-best-log-models-from-runs-in-a-" arrow="true" horizontal>
  To log models in a sweep, create a model artifact for the sweep. Each version represents a different run from the sweep. ...
</Card>

<Card title="How do I disable W&B while testing my code?" href="/support/models/articles/how-do-i-disable-wandb-when-testing-my-code" arrow="true" horizontal>
  To configure W\&B as a no-op for testing, use wandb.init(mode="disabled") or set WANDB\_MODE=disabled. Even when you use w ...
</Card>

<Card title="How do I find an artifact from the best run in a sweep?" href="/support/models/articles/how-do-i-find-an-artifact-from-the-best-" arrow="true" horizontal>
  To retrieve artifacts from the best-performing run in a sweep, use the following code. It sorts the sweep's runs by vali ...
</Card>

<Card title="How do I log an artifact to an existing run?" href="/support/models/articles/how-do-i-log-an-artifact-to-an-existing-" arrow="true" horizontal>
  Sometimes you need to mark an artifact as the output of a previously logged run. For example, you might generate a new m ...
</Card>

<Card title="How do I page through large API results in W&B?" href="/support/models/articles/how-do-i-paginate-through-large-api-results-in-wandb" arrow="true" horizontal>
  You can page through API result using the standard lazy-iterator pattern and per\_page parameter. Additionally, you can u ...
</Card>

<Card title="How do I save code?‌" href="/support/models/articles/how-do-i-save-code" arrow="true" horizontal>
  Saving code with each run helps you reproduce experiments and track which version of your code produced a given result.  ...
</Card>

<Card title="How do I set a retention or expiration policy on my artifact?" href="/support/models/articles/how-do-i-set-a-retention-or-expiration-p" arrow="true" horizontal>
  To manage artifacts that contain sensitive data or to schedule the deletion of artifact versions, set a TTL (time-to-liv ...
</Card>

<Card title="How much storage does each artifact version use?" href="/support/models/articles/how-much-storage-does-each-artifact-vers" arrow="true" horizontal>
  Only files that change between two artifact versions incur storage costs. Consider an image artifact named animals that  ...
</Card>

<Card title="Is it possible to recover an artifact after it has been deleted with a run?" href="/support/models/articles/is-it-possible-to-recover-an-artifact-af" arrow="true" horizontal>
  No. When you delete a run, a prompt asks whether to delete the associated artifacts. If you choose this option, W\&B perm ...
</Card>

<Card title="Using artifacts with multiple architectures and runs?" href="/support/models/articles/using-artifacts-with-multiple-architectu" arrow="true" horizontal>
  This article describes how to organize artifacts when a project explores multiple model architectures across many runs,  ...
</Card>

<Card title="Where are artifacts downloaded, and how can I control that?" href="/support/models/articles/where-are-artifacts-downloaded-and-how-c" arrow="true" horizontal>
  By default, W\&B downloads artifacts to the artifacts/ folder. To change the location: Pass the path to wandb.Artifact(). ...
</Card>

<Card title="Who has access to my artifacts?" href="/support/models/articles/who-has-access-to-my-artifacts" arrow="true" horizontal>
  This page explains how W\&B determines access to artifacts, so you can know who in your organization can read or modify t ...
</Card>

<Card title="Why can't I link my artifact to the Registry?" href="/support/models/articles/cannot-link-artifact-to-registry-from-p" arrow="true" horizontal>
  If you can't link an artifact to a W\&B Registry, the most common cause is that the artifact was logged with a personal e ...
</Card>
