View queries
Create a view query
Execute a view’s query and return the first page of results.
POST
TypeScript SDK
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 a
When
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.
Connection capabilitiesThis endpoint requires a connection to have read content capabilities. For more information on connection capabilities, see the capabilities guide.
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
Headers
The API version to use for this request. The latest version is 2026-12-01.
Available options:
2026-03-11, 2026-12-01 Body
application/json