# ListDocumentsResponse

- [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/ListDocumentsResponse#SCHEMA_REPRESENTATION)

Response message for `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.dataStores.branches.documents/list#google.cloud.discoveryengine.v1.DocumentService.ListDocuments` method.

| JSON representation |
|---|
| ``` { "documents": [ { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.dataStores.branches.documents#Document`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `documents[]` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.dataStores.branches.documents#Document`)`` The `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.dataStores.branches.documents#Document`s. |
| `nextPageToken` | `string` A token that can be sent as `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.dataStores.branches.documents/list#body.QUERY_PARAMETERS.page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |