<aside> ⚠️ As usual, your schema needs to be perfect. Please refer to the API docs on Notions API docs. Click here.
</aside>
Table of Contents
The filter below will show you the basics of searching your Database entries.
<aside> 💡 Refer to https://developers.notion.com/reference/post-database-query for more information in regards to filtering and sorting.
</aside>
You’ll need to define your properties in which your are sorting or filtering. Use the examples below to get a better idea.
{
"and": [
{
"property": "Done",
"checkbox": {
"equals": true
}
},
{
"or": [
{
"property": "Tags",
"contains": "A"
},
{
"property": "Tags",
"contains": "B"
}
]
}
]
}
{
"filter": {
"property": "Status",
"select": {
"equals": "Reading"
}
}
}
{
"sorts": [
{
"property": "Name",
"direction": "ascending"
}
]
}