Canonical: https://weaveos.com/reference/notion/query-data-source

1. [Software capabilities](https://weaveos.com/reference)
2. /[Notion](https://weaveos.com/reference/notion)
3. /How to filter Notion database rows

Notion capability

# How to filter Notion database rows

Use POST /v1/data\_sources/{data\_source\_id}/query to return matching rows in code. Use a database view filter when the goal is to show a filtered list in Notion.

Documentation reviewed November 26, 2026

## Ways to do it

API

### POST /v1/data\_sources/{data\_source\_id}/query

Apply a property filter and optional sorts to the pages in a data source.

- Requirements

  A connection that can read the database, its data source ID and a Notion-Version value of 2025-09-03 or newer.

- Limitations

  The request takes a data source ID. A database that contains multiple data sources has a separate ID for each one.

Example

```
{
  "filter": {
    "property": "Status",
    "status": {
      "equals": "In progress"
    }
  },
  "page_size": 20
}
```

[Read source: Notion data source query reference ↗](https://developers.notion.com/reference/query-a-data-source)

Interface

### Database view filter

Open the view’s options and add a filter on a property such as Status.

- Requirements

  Access to the database and permission to save changes if the filter is for everyone.

- Limitations

  Each view has its own configuration. A filter saved on one view does not automatically apply to the others.

[Read source: Notion database views guide ↗](https://www.notion.com/help/views-filters-and-sorts)

## More from Notion

[View all Notion capabilities →](https://weaveos.com/reference/notion)

- [How to search Notion pages↗](https://weaveos.com/reference/notion/search)
- [How to read Notion page content↗](https://weaveos.com/reference/notion/read-page-content)
