Required. The parent, which owns this collection of sessions.
Authorization requires the following IAM permission on the specified resource parent:
dataproc.sessions.list
Query parameters
Parameters
pageSize
integer
Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.
pageToken
string
Optional. A page token received from a previous sessions.list call. Provide this token to retrieve the subsequent page.
filter
string
Optional. A filter for the sessions to return in the response.
A filter is a logical expression constraining the values of various fields in each session resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND, OR). Supported fields are session_id, session_uuid, state, create_time, and labels.
Example: state = ACTIVE and create_time < "2023-01-01T00:00:00Z" is a filter for sessions in an ACTIVE state that were created before 2023-01-01. state = ACTIVE and labels.environment=production is a filter for sessions in an ACTIVE state that have a production environment label.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-21 UTC."],[[["\u003cp\u003eThis API endpoint retrieves a list of interactive sessions using a \u003ccode\u003eGET\u003c/code\u003e request to the specified URL, structured according to gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required to identify the collection of sessions, and listing sessions requires the \u003ccode\u003edataproc.sessions.list\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe API supports optional query parameters such as \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, and \u003ccode\u003efilter\u003c/code\u003e to control the number of results, pagination, and to refine results based on different criteria.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the successful response includes a JSON representation containing an array of session objects and an optional \u003ccode\u003enextPageToken\u003c/code\u003e for pagination.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this API call requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e, as detailed in the Authentication Overview.\u003c/p\u003e\n"]]],[],null,[]]