Searches all parent or child pages and data_sources that have been shared with an integration.
Returns all pages or data_sources , excluding duplicated linked databases, that have titles that include the query
param. If no query
param is provided, then the response contains all pages or data_sources that have been shared with the integration. The results adhere to any limitations related to an integration’s capabilities.
To limit the request to search only pages or to search only data_source, use the filter
param.
Errors
Each Public API endpoint can return several possible error codes. See the Error codes section of the Status codes documentation for more information.
The Search endpoint supports pagination. To learn more about working with paginated responses, see the pagination section of the Notion API Introduction.
To search a specific data_source — not all sources shared with the integration — use the Query a data_source endpoint instead.