# RestQueryPage (/docs/rest/api/interfaces/RestQueryPage)



[@kysoql/rest](/docs/rest/api) / RestQueryPage

Validated page returned by a Salesforce REST query request.

## Type Parameters [#type-parameters]

| Type Parameter |
| -------------- |
| `O`            |

## Properties [#properties]

| Property                                      | Modifier   | Type            | Description                                                                 |
| --------------------------------------------- | ---------- | --------------- | --------------------------------------------------------------------------- |
| <a id="api-property-done" /> `done`           | `readonly` | `boolean`       | Whether Salesforce has returned the final page.                             |
| <a id="api-property-totalsize" /> `totalSize` | `readonly` | `number`        | Total number of root records matching the query.                            |
| <a id="api-property-records" /> `records`     | `readonly` | readonly `O`\[] | Records hydrated for this page, including selected relationship subqueries. |
