- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - IAM Permissions
 
Lists all Sessions by their parent DataStore.
HTTP request
GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/sessions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent | 
                
                   
 Required. The data store resource name. Format:   | 
              
Query parameters
| Parameters | |
|---|---|
pageSize | 
                
                   
 Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.  | 
              
pageToken | 
                
                   
 A page token, received from a previous   | 
              
filter | 
                
                   
 A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: 
 Examples: 
  | 
              
orderBy | 
                
                   
 A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: 
 Example: 
  | 
              
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListSessionsResponse.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwritehttps://www.googleapis.com/auth/discoveryengine.assist.readwrite
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
discoveryengine.sessions.list
For more information, see the IAM documentation.