query-data-source
Query a Notion data source with filters and sorts. Returns paginated results in simple or JSON format, with optional field selection.
Instructions
Query a Notion data source with optional filters and sorts. Returns paginated results. Use format='simple' (default) for human-readable output with reduced token usage. Use fields parameter to limit which properties are returned (simple format only). (API version 2025-09-03)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_source_id | Yes | Data source ID | |
| filter | No | Filter object. Example: {"property":"Status","select":{"equals":"Done"}} | |
| sorts | No | Sort array. Example: [{"property":"Date","direction":"descending"}] | |
| start_cursor | No | Pagination cursor from previous response | |
| page_size | No | Number of results (1-100) | |
| format | No | Output format: 'simple' or 'json' | simple |
| fields | No | Property names to include in response (simple format only). Example: ["Name", "Status", "Date"] |