Full name: projects.locations.reasoningEngines.sessions.list
Lists Sessions in a given reasoning engine.
Endpoint
gethttps://aiplatform.googleapis.com/v1beta1/{parent}/sessions
Path parameters
parentstring
Required. The resource name of the location to list sessions from. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}
Query parameters
pageSizeinteger
Optional. The maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 100 sessions will be returned.
pageTokenstring
Optional. The nextPageToken value returned from a previous list SessionService.ListSessions call.
filterstring
Optional. The standard list filter. Supported fields: * displayName * userId
Example: displayName="abc", userId="123".
orderBystring
Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * createTime * updateTime
Example: createTime desc.
Request body
The request body must be empty.
Response body
Response message for SessionService.ListSessions.
If successful, the response body contains data with the following structure:
A list of sessions matching the request.
nextPageTokenstring
A token, which can be sent as ListSessionsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
| JSON representation |
|---|
{
"sessions": [
{
object ( |