List Sessions
ListSessions retrieves all available sessions under the parent scope.
Use this method to get a paginated list of sessions belonging to the specified parent.
Request: ListSessionsRequest Response: ListSessionsResponse
HTTP: GET /v1/conversation/sessions
Path parameters
session
The session id.
Query parameters
pageSize
page_size specifies the maximum number of Session resources to return.
pageToken
page_token is used to retrieve the next page of results.
Response
OK
sessions
Sessions is the list of Session resources.
nextPageToken
next_page_token is the token for retrieving the next page of results.
Errors
400
Bad Request Error