Skip to main content
FuseFuse
IntegrationsNotionActions

Query Notion data source

Query pages in a Notion data source with bounded property filters.

Agent markdown

data_sources.query · Notion · v1

Details

Risk
Read
Idempotency
Safe
Availability
Default
Exposure
REST, SDK, MCP
MCP hints
readOnly=true, destructive=false, idempotent=true, openWorld=true

Scopes

  • read_content

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
data_source_idstringYesminLength 1; maxLength 64
filterobjectNoadditionalProperties false; oneOf branch 1: required and / branch 2: required or / branch 3: required property, title / branch 4: required property, rich_text / branch 5: required property, url / branch 6: required property, email / branch 7: required property, phone_number / branch 8: required property, number / branch 9: required property, checkbox / branch 10: required property, select / branch 11: required property, status / branch 12: required property, date
filter.andarray<object>NomaxItems 8
filter.and[]objectYesadditionalProperties false; oneOf branch 1: required property, title / branch 2: required property, rich_text / branch 3: required property, url / branch 4: required property, email / branch 5: required property, phone_number / branch 6: required property, number / branch 7: required property, checkbox / branch 8: required property, select / branch 9: required property, status / branch 10: required property, date
filter.and[].propertystringYesminLength 1; maxLength 200
filter.and[].titleobjectNoadditionalProperties false
filter.and[].title.equalsstringNominLength 1; maxLength 2000
filter.and[].title.does_not_equalstringNominLength 1; maxLength 2000
filter.and[].title.containsstringNominLength 1; maxLength 2000
filter.and[].title.does_not_containstringNominLength 1; maxLength 2000
filter.and[].title.starts_withstringNominLength 1; maxLength 2000
filter.and[].title.ends_withstringNominLength 1; maxLength 2000
filter.and[].title.is_emptybooleanNo
filter.and[].title.is_not_emptybooleanNo
filter.and[].rich_textobjectNoadditionalProperties false
filter.and[].rich_text.equalsstringNominLength 1; maxLength 2000
filter.and[].rich_text.does_not_equalstringNominLength 1; maxLength 2000
filter.and[].rich_text.containsstringNominLength 1; maxLength 2000
filter.and[].rich_text.does_not_containstringNominLength 1; maxLength 2000
filter.and[].rich_text.starts_withstringNominLength 1; maxLength 2000
filter.and[].rich_text.ends_withstringNominLength 1; maxLength 2000
filter.and[].rich_text.is_emptybooleanNo
filter.and[].rich_text.is_not_emptybooleanNo
filter.and[].urlobjectNoadditionalProperties false
filter.and[].url.equalsstringNominLength 1; maxLength 2000
filter.and[].url.does_not_equalstringNominLength 1; maxLength 2000
filter.and[].url.containsstringNominLength 1; maxLength 2000
filter.and[].url.does_not_containstringNominLength 1; maxLength 2000
filter.and[].url.starts_withstringNominLength 1; maxLength 2000
filter.and[].url.ends_withstringNominLength 1; maxLength 2000
filter.and[].url.is_emptybooleanNo
filter.and[].url.is_not_emptybooleanNo
filter.and[].emailobjectNoadditionalProperties false
filter.and[].email.equalsstringNominLength 1; maxLength 2000
filter.and[].email.does_not_equalstringNominLength 1; maxLength 2000
filter.and[].email.containsstringNominLength 1; maxLength 2000
filter.and[].email.does_not_containstringNominLength 1; maxLength 2000
filter.and[].email.starts_withstringNominLength 1; maxLength 2000
filter.and[].email.ends_withstringNominLength 1; maxLength 2000
filter.and[].email.is_emptybooleanNo
filter.and[].email.is_not_emptybooleanNo
filter.and[].phone_numberobjectNoadditionalProperties false
filter.and[].phone_number.equalsstringNominLength 1; maxLength 2000
filter.and[].phone_number.does_not_equalstringNominLength 1; maxLength 2000
filter.and[].phone_number.containsstringNominLength 1; maxLength 2000
filter.and[].phone_number.does_not_containstringNominLength 1; maxLength 2000
filter.and[].phone_number.starts_withstringNominLength 1; maxLength 2000
filter.and[].phone_number.ends_withstringNominLength 1; maxLength 2000
filter.and[].phone_number.is_emptybooleanNo
filter.and[].phone_number.is_not_emptybooleanNo
filter.and[].numberobjectNoadditionalProperties false
filter.and[].number.equalsnumberNo
filter.and[].number.does_not_equalnumberNo
filter.and[].number.greater_thannumberNo
filter.and[].number.less_thannumberNo
filter.and[].number.greater_than_or_equal_tonumberNo
filter.and[].number.less_than_or_equal_tonumberNo
filter.and[].number.is_emptybooleanNo
filter.and[].number.is_not_emptybooleanNo
filter.and[].checkboxobjectNoadditionalProperties false
filter.and[].checkbox.equalsbooleanYes
filter.and[].selectobjectNoadditionalProperties false
filter.and[].select.equalsstringNominLength 1; maxLength 200
filter.and[].select.does_not_equalstringNominLength 1; maxLength 200
filter.and[].select.is_emptybooleanNo
filter.and[].select.is_not_emptybooleanNo
filter.and[].statusobjectNoadditionalProperties false
filter.and[].status.equalsstringNominLength 1; maxLength 200
filter.and[].status.does_not_equalstringNominLength 1; maxLength 200
filter.and[].status.is_emptybooleanNo
filter.and[].status.is_not_emptybooleanNo
filter.and[].dateobjectNoadditionalProperties false
filter.and[].date.equalsstringNominLength 1; maxLength 64
filter.and[].date.beforestringNominLength 1; maxLength 64
filter.and[].date.afterstringNominLength 1; maxLength 64
filter.and[].date.on_or_beforestringNominLength 1; maxLength 64
filter.and[].date.on_or_afterstringNominLength 1; maxLength 64
filter.and[].date.is_emptybooleanNo
filter.and[].date.is_not_emptybooleanNo
filter.orarray<object>NomaxItems 8
filter.or[]objectYesadditionalProperties false; oneOf branch 1: required property, title / branch 2: required property, rich_text / branch 3: required property, url / branch 4: required property, email / branch 5: required property, phone_number / branch 6: required property, number / branch 7: required property, checkbox / branch 8: required property, select / branch 9: required property, status / branch 10: required property, date
filter.or[].propertystringYesminLength 1; maxLength 200
filter.or[].titleobjectNoadditionalProperties false
filter.or[].title.equalsstringNominLength 1; maxLength 2000
filter.or[].title.does_not_equalstringNominLength 1; maxLength 2000
filter.or[].title.containsstringNominLength 1; maxLength 2000
filter.or[].title.does_not_containstringNominLength 1; maxLength 2000
filter.or[].title.starts_withstringNominLength 1; maxLength 2000
filter.or[].title.ends_withstringNominLength 1; maxLength 2000
filter.or[].title.is_emptybooleanNo
filter.or[].title.is_not_emptybooleanNo
filter.or[].rich_textobjectNoadditionalProperties false
filter.or[].rich_text.equalsstringNominLength 1; maxLength 2000
filter.or[].rich_text.does_not_equalstringNominLength 1; maxLength 2000
filter.or[].rich_text.containsstringNominLength 1; maxLength 2000
filter.or[].rich_text.does_not_containstringNominLength 1; maxLength 2000
filter.or[].rich_text.starts_withstringNominLength 1; maxLength 2000
filter.or[].rich_text.ends_withstringNominLength 1; maxLength 2000
filter.or[].rich_text.is_emptybooleanNo
filter.or[].rich_text.is_not_emptybooleanNo
filter.or[].urlobjectNoadditionalProperties false
filter.or[].url.equalsstringNominLength 1; maxLength 2000
filter.or[].url.does_not_equalstringNominLength 1; maxLength 2000
filter.or[].url.containsstringNominLength 1; maxLength 2000
filter.or[].url.does_not_containstringNominLength 1; maxLength 2000
filter.or[].url.starts_withstringNominLength 1; maxLength 2000
filter.or[].url.ends_withstringNominLength 1; maxLength 2000
filter.or[].url.is_emptybooleanNo
filter.or[].url.is_not_emptybooleanNo
filter.or[].emailobjectNoadditionalProperties false
filter.or[].email.equalsstringNominLength 1; maxLength 2000
filter.or[].email.does_not_equalstringNominLength 1; maxLength 2000
filter.or[].email.containsstringNominLength 1; maxLength 2000
filter.or[].email.does_not_containstringNominLength 1; maxLength 2000
filter.or[].email.starts_withstringNominLength 1; maxLength 2000
filter.or[].email.ends_withstringNominLength 1; maxLength 2000
filter.or[].email.is_emptybooleanNo
filter.or[].email.is_not_emptybooleanNo
filter.or[].phone_numberobjectNoadditionalProperties false
filter.or[].phone_number.equalsstringNominLength 1; maxLength 2000
filter.or[].phone_number.does_not_equalstringNominLength 1; maxLength 2000
filter.or[].phone_number.containsstringNominLength 1; maxLength 2000
filter.or[].phone_number.does_not_containstringNominLength 1; maxLength 2000
filter.or[].phone_number.starts_withstringNominLength 1; maxLength 2000
filter.or[].phone_number.ends_withstringNominLength 1; maxLength 2000
filter.or[].phone_number.is_emptybooleanNo
filter.or[].phone_number.is_not_emptybooleanNo
filter.or[].numberobjectNoadditionalProperties false
filter.or[].number.equalsnumberNo
filter.or[].number.does_not_equalnumberNo
filter.or[].number.greater_thannumberNo
filter.or[].number.less_thannumberNo
filter.or[].number.greater_than_or_equal_tonumberNo
filter.or[].number.less_than_or_equal_tonumberNo
filter.or[].number.is_emptybooleanNo
filter.or[].number.is_not_emptybooleanNo
filter.or[].checkboxobjectNoadditionalProperties false
filter.or[].checkbox.equalsbooleanYes
filter.or[].selectobjectNoadditionalProperties false
filter.or[].select.equalsstringNominLength 1; maxLength 200
filter.or[].select.does_not_equalstringNominLength 1; maxLength 200
filter.or[].select.is_emptybooleanNo
filter.or[].select.is_not_emptybooleanNo
filter.or[].statusobjectNoadditionalProperties false
filter.or[].status.equalsstringNominLength 1; maxLength 200
filter.or[].status.does_not_equalstringNominLength 1; maxLength 200
filter.or[].status.is_emptybooleanNo
filter.or[].status.is_not_emptybooleanNo
filter.or[].dateobjectNoadditionalProperties false
filter.or[].date.equalsstringNominLength 1; maxLength 64
filter.or[].date.beforestringNominLength 1; maxLength 64
filter.or[].date.afterstringNominLength 1; maxLength 64
filter.or[].date.on_or_beforestringNominLength 1; maxLength 64
filter.or[].date.on_or_afterstringNominLength 1; maxLength 64
filter.or[].date.is_emptybooleanNo
filter.or[].date.is_not_emptybooleanNo
filter.propertystringNominLength 1; maxLength 200
filter.titleobjectNoadditionalProperties false
filter.title.equalsstringNominLength 1; maxLength 2000
filter.title.does_not_equalstringNominLength 1; maxLength 2000
filter.title.containsstringNominLength 1; maxLength 2000
filter.title.does_not_containstringNominLength 1; maxLength 2000
filter.title.starts_withstringNominLength 1; maxLength 2000
filter.title.ends_withstringNominLength 1; maxLength 2000
filter.title.is_emptybooleanNo
filter.title.is_not_emptybooleanNo
filter.rich_textobjectNoadditionalProperties false
filter.rich_text.equalsstringNominLength 1; maxLength 2000
filter.rich_text.does_not_equalstringNominLength 1; maxLength 2000
filter.rich_text.containsstringNominLength 1; maxLength 2000
filter.rich_text.does_not_containstringNominLength 1; maxLength 2000
filter.rich_text.starts_withstringNominLength 1; maxLength 2000
filter.rich_text.ends_withstringNominLength 1; maxLength 2000
filter.rich_text.is_emptybooleanNo
filter.rich_text.is_not_emptybooleanNo
filter.urlobjectNoadditionalProperties false
filter.url.equalsstringNominLength 1; maxLength 2000
filter.url.does_not_equalstringNominLength 1; maxLength 2000
filter.url.containsstringNominLength 1; maxLength 2000
filter.url.does_not_containstringNominLength 1; maxLength 2000
filter.url.starts_withstringNominLength 1; maxLength 2000
filter.url.ends_withstringNominLength 1; maxLength 2000
filter.url.is_emptybooleanNo
filter.url.is_not_emptybooleanNo
filter.emailobjectNoadditionalProperties false
filter.email.equalsstringNominLength 1; maxLength 2000
filter.email.does_not_equalstringNominLength 1; maxLength 2000
filter.email.containsstringNominLength 1; maxLength 2000
filter.email.does_not_containstringNominLength 1; maxLength 2000
filter.email.starts_withstringNominLength 1; maxLength 2000
filter.email.ends_withstringNominLength 1; maxLength 2000
filter.email.is_emptybooleanNo
filter.email.is_not_emptybooleanNo
filter.phone_numberobjectNoadditionalProperties false
filter.phone_number.equalsstringNominLength 1; maxLength 2000
filter.phone_number.does_not_equalstringNominLength 1; maxLength 2000
filter.phone_number.containsstringNominLength 1; maxLength 2000
filter.phone_number.does_not_containstringNominLength 1; maxLength 2000
filter.phone_number.starts_withstringNominLength 1; maxLength 2000
filter.phone_number.ends_withstringNominLength 1; maxLength 2000
filter.phone_number.is_emptybooleanNo
filter.phone_number.is_not_emptybooleanNo
filter.numberobjectNoadditionalProperties false
filter.number.equalsnumberNo
filter.number.does_not_equalnumberNo
filter.number.greater_thannumberNo
filter.number.less_thannumberNo
filter.number.greater_than_or_equal_tonumberNo
filter.number.less_than_or_equal_tonumberNo
filter.number.is_emptybooleanNo
filter.number.is_not_emptybooleanNo
filter.checkboxobjectNoadditionalProperties false
filter.checkbox.equalsbooleanYes
filter.selectobjectNoadditionalProperties false
filter.select.equalsstringNominLength 1; maxLength 200
filter.select.does_not_equalstringNominLength 1; maxLength 200
filter.select.is_emptybooleanNo
filter.select.is_not_emptybooleanNo
filter.statusobjectNoadditionalProperties false
filter.status.equalsstringNominLength 1; maxLength 200
filter.status.does_not_equalstringNominLength 1; maxLength 200
filter.status.is_emptybooleanNo
filter.status.is_not_emptybooleanNo
filter.dateobjectNoadditionalProperties false
filter.date.equalsstringNominLength 1; maxLength 64
filter.date.beforestringNominLength 1; maxLength 64
filter.date.afterstringNominLength 1; maxLength 64
filter.date.on_or_beforestringNominLength 1; maxLength 64
filter.date.on_or_afterstringNominLength 1; maxLength 64
filter.date.is_emptybooleanNo
filter.date.is_not_emptybooleanNo
start_cursorstringNominLength 1; maxLength 512
page_sizeintegerNominimum 1; maximum 100
is_archivedbooleanNo
timestamp_filterobjectNoadditionalProperties false
timestamp_filter.timestampstringYesenum created_time | last_edited_time
timestamp_filter.on_or_afterstringNominLength 1; maxLength 64
timestamp_filter.afterstringNominLength 1; maxLength 64
timestamp_filter.on_or_beforestringNominLength 1; maxLength 64
timestamp_filter.beforestringNominLength 1; maxLength 64
sortsarray<object>NomaxItems 3
sorts[]objectYesadditionalProperties false; oneOf branch 1: required property, direction / branch 2: required timestamp, direction
sorts[].propertystringNominLength 1; maxLength 200
sorts[].timestampstringNoenum created_time | last_edited_time
sorts[].directionstringNoenum ascending | descending

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
resultsarray<object>YesmaxItems 100
results[]objectYesadditionalProperties false
results[].idstringYesminLength 1; maxLength 64
results[].objectstringYesminLength 1; maxLength 64
results[].urlstringNomaxLength 2048
results[].in_trashbooleanNo
results[].created_atstringNominLength 1; maxLength 64
results[].updated_atstringNominLength 1; maxLength 64
results[].titlestringNomaxLength 2000
results[].parentobjectNoadditionalProperties false
results[].parent.typestringNominLength 1; maxLength 64
results[].parent.page_idstringNominLength 1; maxLength 64
results[].parent.database_idstringNominLength 1; maxLength 64
results[].parent.data_source_idstringNominLength 1; maxLength 64
results[].parent.workspacebooleanNo
results[].propertiesarray<object>NomaxItems 64
results[].properties[]objectYesadditionalProperties false
results[].properties[].namestringYesminLength 1; maxLength 200
results[].properties[].typestringYesminLength 1; maxLength 64
results[].properties[].idstringNominLength 1; maxLength 64
results[].properties[].has_morebooleanNo
results[].properties[].valuestringNomaxLength 4096
next_cursorstringNominLength 1; maxLength 512
has_morebooleanNo
request_statusobjectNoadditionalProperties false
request_status.typestringYesenum complete | incomplete
request_status.incomplete_reasonstringNomaxLength 128

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "data_source_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "filter": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "and": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "property": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "title": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "contains": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_contain": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "starts_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "ends_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "rich_text": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "contains": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_contain": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "starts_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "ends_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "url": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "contains": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_contain": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "starts_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "ends_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "email": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "contains": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_contain": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "starts_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "ends_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "phone_number": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "contains": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_contain": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "starts_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "ends_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "number": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "number"
                  },
                  "does_not_equal": {
                    "type": "number"
                  },
                  "greater_than": {
                    "type": "number"
                  },
                  "less_than": {
                    "type": "number"
                  },
                  "greater_than_or_equal_to": {
                    "type": "number"
                  },
                  "less_than_or_equal_to": {
                    "type": "number"
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "checkbox": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "equals"
                ]
              },
              "select": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "status": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "date": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "before": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "after": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "on_or_before": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "on_or_after": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              }
            },
            "required": [
              "property"
            ],
            "oneOf": [
              {
                "required": [
                  "property",
                  "title"
                ]
              },
              {
                "required": [
                  "property",
                  "rich_text"
                ]
              },
              {
                "required": [
                  "property",
                  "url"
                ]
              },
              {
                "required": [
                  "property",
                  "email"
                ]
              },
              {
                "required": [
                  "property",
                  "phone_number"
                ]
              },
              {
                "required": [
                  "property",
                  "number"
                ]
              },
              {
                "required": [
                  "property",
                  "checkbox"
                ]
              },
              {
                "required": [
                  "property",
                  "select"
                ]
              },
              {
                "required": [
                  "property",
                  "status"
                ]
              },
              {
                "required": [
                  "property",
                  "date"
                ]
              }
            ]
          },
          "maxItems": 8
        },
        "or": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "property": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "title": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "contains": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_contain": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "starts_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "ends_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "rich_text": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "contains": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_contain": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "starts_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "ends_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "url": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "contains": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_contain": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "starts_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "ends_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "email": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "contains": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_contain": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "starts_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "ends_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "phone_number": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "contains": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "does_not_contain": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "starts_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "ends_with": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "number": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "number"
                  },
                  "does_not_equal": {
                    "type": "number"
                  },
                  "greater_than": {
                    "type": "number"
                  },
                  "less_than": {
                    "type": "number"
                  },
                  "greater_than_or_equal_to": {
                    "type": "number"
                  },
                  "less_than_or_equal_to": {
                    "type": "number"
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "checkbox": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "equals"
                ]
              },
              "select": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "status": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "does_not_equal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              },
              "date": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "equals": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "before": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "after": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "on_or_before": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "on_or_after": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "is_empty": {
                    "type": "boolean"
                  },
                  "is_not_empty": {
                    "type": "boolean"
                  }
                }
              }
            },
            "required": [
              "property"
            ],
            "oneOf": [
              {
                "required": [
                  "property",
                  "title"
                ]
              },
              {
                "required": [
                  "property",
                  "rich_text"
                ]
              },
              {
                "required": [
                  "property",
                  "url"
                ]
              },
              {
                "required": [
                  "property",
                  "email"
                ]
              },
              {
                "required": [
                  "property",
                  "phone_number"
                ]
              },
              {
                "required": [
                  "property",
                  "number"
                ]
              },
              {
                "required": [
                  "property",
                  "checkbox"
                ]
              },
              {
                "required": [
                  "property",
                  "select"
                ]
              },
              {
                "required": [
                  "property",
                  "status"
                ]
              },
              {
                "required": [
                  "property",
                  "date"
                ]
              }
            ]
          },
          "maxItems": 8
        },
        "property": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "title": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "equals": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "does_not_equal": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "contains": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "does_not_contain": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "starts_with": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "ends_with": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "is_empty": {
              "type": "boolean"
            },
            "is_not_empty": {
              "type": "boolean"
            }
          }
        },
        "rich_text": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "equals": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "does_not_equal": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "contains": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "does_not_contain": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "starts_with": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "ends_with": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "is_empty": {
              "type": "boolean"
            },
            "is_not_empty": {
              "type": "boolean"
            }
          }
        },
        "url": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "equals": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "does_not_equal": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "contains": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "does_not_contain": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "starts_with": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "ends_with": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "is_empty": {
              "type": "boolean"
            },
            "is_not_empty": {
              "type": "boolean"
            }
          }
        },
        "email": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "equals": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "does_not_equal": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "contains": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "does_not_contain": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "starts_with": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "ends_with": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "is_empty": {
              "type": "boolean"
            },
            "is_not_empty": {
              "type": "boolean"
            }
          }
        },
        "phone_number": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "equals": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "does_not_equal": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "contains": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "does_not_contain": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "starts_with": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "ends_with": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "is_empty": {
              "type": "boolean"
            },
            "is_not_empty": {
              "type": "boolean"
            }
          }
        },
        "number": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "equals": {
              "type": "number"
            },
            "does_not_equal": {
              "type": "number"
            },
            "greater_than": {
              "type": "number"
            },
            "less_than": {
              "type": "number"
            },
            "greater_than_or_equal_to": {
              "type": "number"
            },
            "less_than_or_equal_to": {
              "type": "number"
            },
            "is_empty": {
              "type": "boolean"
            },
            "is_not_empty": {
              "type": "boolean"
            }
          }
        },
        "checkbox": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "equals": {
              "type": "boolean"
            }
          },
          "required": [
            "equals"
          ]
        },
        "select": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "equals": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "does_not_equal": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "is_empty": {
              "type": "boolean"
            },
            "is_not_empty": {
              "type": "boolean"
            }
          }
        },
        "status": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "equals": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "does_not_equal": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "is_empty": {
              "type": "boolean"
            },
            "is_not_empty": {
              "type": "boolean"
            }
          }
        },
        "date": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "equals": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "before": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "after": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "on_or_before": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "on_or_after": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "is_empty": {
              "type": "boolean"
            },
            "is_not_empty": {
              "type": "boolean"
            }
          }
        }
      },
      "oneOf": [
        {
          "required": [
            "and"
          ]
        },
        {
          "required": [
            "or"
          ]
        },
        {
          "required": [
            "property",
            "title"
          ]
        },
        {
          "required": [
            "property",
            "rich_text"
          ]
        },
        {
          "required": [
            "property",
            "url"
          ]
        },
        {
          "required": [
            "property",
            "email"
          ]
        },
        {
          "required": [
            "property",
            "phone_number"
          ]
        },
        {
          "required": [
            "property",
            "number"
          ]
        },
        {
          "required": [
            "property",
            "checkbox"
          ]
        },
        {
          "required": [
            "property",
            "select"
          ]
        },
        {
          "required": [
            "property",
            "status"
          ]
        },
        {
          "required": [
            "property",
            "date"
          ]
        }
      ]
    },
    "start_cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "is_archived": {
      "type": "boolean"
    },
    "timestamp_filter": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "timestamp": {
          "type": "string",
          "enum": [
            "created_time",
            "last_edited_time"
          ]
        },
        "on_or_after": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "after": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "on_or_before": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "before": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        }
      },
      "required": [
        "timestamp"
      ]
    },
    "sorts": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "property": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "timestamp": {
            "type": "string",
            "enum": [
              "created_time",
              "last_edited_time"
            ]
          },
          "direction": {
            "type": "string",
            "enum": [
              "ascending",
              "descending"
            ]
          }
        },
        "oneOf": [
          {
            "required": [
              "property",
              "direction"
            ]
          },
          {
            "required": [
              "timestamp",
              "direction"
            ]
          }
        ]
      },
      "maxItems": 3
    }
  },
  "required": [
    "data_source_id"
  ]
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "object": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "url": {
            "type": "string",
            "maxLength": 2048
          },
          "in_trash": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "updated_at": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "title": {
            "type": "string",
            "maxLength": 2000
          },
          "parent": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "type": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "page_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "database_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "data_source_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "workspace": {
                "type": "boolean"
              }
            }
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "type": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "has_more": {
                  "type": "boolean"
                },
                "value": {
                  "type": "string",
                  "maxLength": 4096
                }
              },
              "required": [
                "name",
                "type"
              ]
            },
            "maxItems": 64
          }
        },
        "required": [
          "id",
          "object"
        ]
      },
      "maxItems": 100
    },
    "next_cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512
    },
    "has_more": {
      "type": "boolean"
    },
    "request_status": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "complete",
            "incomplete"
          ]
        },
        "incomplete_reason": {
          "type": "string",
          "maxLength": 128
        }
      },
      "required": [
        "type"
      ]
    }
  },
  "required": [
    "results"
  ]
}