search
Search across all Notion pages and data sources by title and content. Filter results by type, sort by last edited time, and paginate through results.
Instructions
Search across all pages and data sources in the workspace by title and content. Filter results by type (page or data_source) and sort by last edited time. 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). For querying a specific data source with filters, use query-data-source instead. (API version 2025-09-03)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query text | |
| filter | No | Filter to limit results to pages or data sources. Example: { "value": "page", "property": "object" } | |
| sort | No | Sort order. Example: { "direction": "descending", "timestamp": "last_edited_time" } | |
| 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"] |