Create a view query
Execute a view’s query and return the first page of results.
Executes the view’s filter and sort configuration against its data source, caches the full result set, and returns the first page of page references along with aDocumentation Index
Fetch the complete documentation index at: https://developers.notion.com/llms.txt
Use this file to discover all available pages before exploring further.
query_id for paginating through results.
Cached results expire after 15 minutes. Use the expires_at field to check when the cache will be invalidated.
Pagination limit
This endpoint caches up to 10,000 results per query. If the view’s filter and sort configuration matches more rows than this limit, the cache will be truncated and the response will include:request_status.type is "incomplete", the total_count reflects only the truncated cache size (not the full matching row count), and subsequent paginated requests will stop once the cache is exhausted.
To work around this limit:
- Narrow the view’s filter and sort configuration via Update a view (for example, filter by
last_edited_timeto only include recently changed rows). - Set up connection webhooks to detect changes in real time instead of polling this endpoint.
Errors
Returns a 404 HTTP response if the view doesn’t exist, or if the connection doesn’t have access. Returns a 400 or 429 HTTP response if the request exceeds the request limits.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The API version to use for this request. The latest version is 2026-03-11.
2026-03-11 Path Parameters
The ID of the view.
Body
The number of results to return per page. Maximum: 100
1 <= x <= 100Response
The object type.
"view_query"The query ID.
The view this query was executed against.
When the cached query results expire.
Total number of results in the query.
The page results for this page.
100Cursor for the next page of results.
Whether there are more results.
Set to { type: 'incomplete', incomplete_reason: 'query_result_limit_reached' } when the view's underlying data source has more rows matching this query than the server-side pagination depth limit allows.