page_size of results. If the response includes a next_cursor value, refer to the pagination reference for details about how to use a cursor to iterate through the list.
result_type filter of "page" or "data_source" if you’re only looking for query results that are one of those two types instead of both."and" filter. Similar a set of filters chained by “Or” in the UI would be represented as filters in the array of the "or" compound filter.
filter_properties query parameter to filter only the properties of the data source schema you need from the response items. For example:
filter_properties query param. For example:
filter_properties endpoint expects an array of strings. For example:
filter_properties can make a significant improvement to the speed of the API and size of the JSON objects in the results, especially for databases with lots of properties, some of which might be rollups, relations, or formulas. If you need additional properties from each returned page, you can make subsequent calls to the Retrieve page property item or Retrieve a page APIs.
If you’re still running into long query times with this API, other tips include:
Add connections, and use the search bar to find and select the integration from the dropdown list.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use for this request. The latest version is 2025-09-03.
2025-09-03 Optionally filter the results to only include pages or data sources. Regular, non-wiki databases only support page children. The default behavior is no result type filtering, in other words, returning both pages and data sources for wikis.
page, data_source