Skip to main content

Overview

Each dataset can declare a metadata_schema — a list of fields available for filtering. Use list_datasets() to see what’s filterable:

Filter Syntax

Filters map each dataset ID to a filter object. Datasets without an entry are queried unfiltered.

Operators

Comparison

Logical

Rules

  • Each field has exactly one operator: {"field": {"$op": value}}
  • Top-level fields are implicitly ANDed
  • Max nesting depth: 3 levels
  • Max conditions: 20 per dataset
  • Field names must not start with _ or $

Examples

Simple filter

Multiple fields (implicit AND)

Explicit AND

OR

Cross-dataset (different filters per dataset)

Schema Field Types