Skip to main content
Which credential the SDK looks for depends on the authentication strategy you select. The SDK doesn’t fall back from one strategy to the other.
  • CoreWeave (default): reads CWSANDBOX_API_KEY, a CoreWeave API access token, and sends it as a bearer token. Requests go out unauthenticated when the variable isn’t set.
  • W&B: selected explicitly by passing auth=AuthStrategy.WANDB. Credential discovery is delegated to the wandb library, which accepts an active wandb login session, WANDB_API_KEY, or the api.wandb.ai entry in ~/.netrc.
Check which credential you have configured, without printing its value:

Common issues

Authentication & Access
Last modified on September 29, 2026