Skip to main content
Find registries, collections, and artifact versions interactively with the W&B Registry or programmatically with the W&B Python SDK. Only items that you have permission to view appear in the search results.
The syntax and available operators you can use to query W&B Registry are similar, but not identical, to MongoDB queries.

Search for registry items

Use the search bar on the W&B Registry homepage to find collections and registries by name. Use the advanced search to find registries, collections, or artifact versions with specific attributes such as name, tag, description, creation date, and more. Search for registries and collections from the W&B Registry homepage:
  1. Navigate to the W&B Registry.
  2. Enter a search term in the search bar at the top of the page.
  3. Press Enter to search.
Use the advanced search to search for registries, collections, or artifact versions. Use filters to search for specific registry items based on attributes such as name, tag, description, creation date, and more.
  1. Navigate to the W&B Registry.
  2. Click Advanced at the top of the homepage.
  3. Select Registries, Collections, or Versions button.
  4. Click Filters.
  5. From left to right, select the attribute you want to filter by, the operator, and the value. You can add multiple filters to narrow down your search results.
  6. Press Enter to apply the filter.

Query registry items

Use wandb.Api().registries() and query predicates to filter registries, collections, and artifact versions. A query predicate is a condition that specifies the criteria that returned items must meet. To create a query predicate, use a JSON-like dictionary that consists of query name, one or more operators, and values. The following code snippet shows the general structure of a query predicate:
The following sections describe the available registry query names, supported operators, and example queries.

Filterable fields

The following table lists query names you can use based on the type of item you want to filter:

Supported operators

Use operators within a query predicate to express the comparison or logical relationship between a field and its value. W&B supports the following comparison and logical operators for filtering registry items.

Comparison operators

Logical operators

Other operators

Example queries

The following code examples demonstrate some common search scenarios. To use the wandb.Api().registries() method, first import the W&B Python SDK (wandb) library so that the API client is available in your environment:
Filter all registries that contain the string model:
Filter all collections, independent of registry, that contain the string yolo in the collection name:
Filter all collections, independent of registry, that contain the string yolo in the collection name and have cnn as a tag:
Find all artifact versions that contain the string model and have either the tag image-classification or the production alias:
Each item in the artifacts iterable is an instance of the Artifact class. This means that you can access each artifact’s attributes, such as name, collection, aliases, tags, and created_at:
For more information about an artifact object’s attributes, see Artifact. Filter all artifact versions, independent of registry or collection, created between 2024-01-08 and 2025-03-04 at 13:10 UTC:
Specify the date and time in YYYY-MM-DD HH:MM:SS format for created_at and updated_at queries. You can omit the hours, minutes, and seconds if you want to filter by date only.