Skip to main content

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.

class Projects

An lazy iterator of Project objects. An iterable interface to access projects created and saved by the entity.

method Projects.__init__

__init__(
    client: 'RetryingClient',
    entity: 'str',
    per_page: 'int' = 50
) → Projects
Args:
  • client (wandb.apis.internal.Api): The API client instance to use.
  • entity (str): The entity name (username or team) to fetch projects for.
  • per_page (int): Number of projects to fetch per request (default is 50).
Example:
from wandb.apis.public.api import Api

# Find projects that belong to this entity
projects = Api().projects(entity="entity")

# Iterate over files
for project in projects:
   print(f"Project: {project.name}")
   print(f"- URL: {project.url}")
   print(f"- Created at: {project.created_at}")
   print(f"- Is benchmark: {project.is_benchmark}")
An iterable collection of Project objects. Args:
  • client: The API client used to query W&B.
  • entity: The entity which owns the projects.
  • per_page: The number of projects to fetch per request to the API.

property Projects.cursor

An opaque cursor that marks the start of the next page to fetch. This value may be saved and passed as start= to a later paginated query to resume iteration from where this paginator left off. Returns:
  • str | None: The cursor property value.

property Projects.more