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

sessionstringRequired
The session id.

Query parameters

pageSizeintegerOptional

page_size specifies the maximum number of Session resources to return.

pageTokenstringOptional

page_token is used to retrieve the next page of results.

Response

OK
sessionslist of objectsRead-only
Sessions is the list of Session resources.
nextPageTokenstring

next_page_token is the token for retrieving the next page of results.

Errors

400
Bad Request Error