# ListSessionsResponse

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

Response for ListSessions method.

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

| Fields ||
|---|---|
| `sessions[]` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.dataStores.sessions#Session`)`` All the Sessions for a given data store. |
| `nextPageToken` | `string` Pagination token, if not returned indicates the last page. |