> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get Notion view query results

> Retrieve another page from an existing view query.

`notion.getViewQueryResults` retrieve another page from an existing view query.

## Example

```ts automations/notion-get-view-query-results.automation.ts theme={null}
import { automation, onSchedule } from "automate.ax"
import { notion } from "automate.ax/notion"

export default automation("Get Notion view query results", () => {
  onSchedule({ schedule: "0 9 * * *" })

  notion.getViewQueryResults({
    view_id: "view-id",
    query_id: "query-id",
    page_size: 50,
  })
})
```

## Inputs

`view_id` and `query_id` are required. Use `start_cursor` and `page_size` for pagination. Every input accepts a compatible signal, and an optional second argument can select a named account.

## Output

Returns a paginated `page` list. Queries expire at the time reported by `createViewQuery`.
