Skip to main content
notion.createViewQuery create a temporary materialized query for a view.

Example

automations/notion-create-view-query.automation.ts

Inputs

view_id is required. Optional page_size controls the first result page. Every input accepts a compatible signal, and an optional second argument can select a named account.

Output

Returns a view_query with its query ID, expiry time, first results, count, and cursor. Keep both view_id and the returned query id for later pages or deletion.