Skip to main content
notion.queryDataSource query pages from a data source with filters and sorts.

Example

automations/notion-query-data-source.automation.ts

Inputs

data_source_id is required. Optional filters, sorts, property projections, cursor, page size, trash state, and result type follow the current API. Every input accepts a compatible signal, and an optional second argument can select a named account.

Output

Returns a paginated page_or_data_source list. Use next_cursor until has_more is false. The retired archived filter is rejected.