Skip to main content

Class wandb.Api

Used for querying the W&B server.

Args

dict[str, Any] | None
You can set base_url if you are using a W&B server other than https://api.wandb.ai. You can also set defaults for entity, project, and run.
int | None
HTTP timeout in seconds for API requests. If not specified, the default timeout will be used.
str | None
API key to use for authentication. If not provided, the API key from the current environment or configuration will be used. Prompts for an API key if none is provided or configured in the environment.

Examples