Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
Stay organized with collections
Save and categorize content based on your preferences.
Full name: projects.locations.reasoningEngines.sessions.events.list
Lists events in a given session.
Endpoint
get
https://aiplatform.googleapis.com/v1beta1/{parent}/events
Path parameters
parentstring
Required. The resource name of the session to list events from. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}/sessions/{session}
Query parameters
pageSizeinteger
Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. These events are ordered by timestamp in ascending order.
Optional. The standard list filter. Supported fields: * timestamp range (i.e. timestamp>="2025-01-31T11:30:00-04:00" where the timestamp is in RFC 3339 format)
[[["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-06-27 UTC."],[],[],null,["# Method: events.list\n\n**Full name**: projects.locations.reasoningEngines.sessions.events.list\n\nLists `events` in a given session. \n\n### Endpoint\n\nget `https:``/``/aiplatform.googleapis.com``/v1beta1``/{parent}``/events` \n\n### Path parameters\n\n`parent` `string` \nRequired. The resource name of the session to list events from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}/sessions/{session}`\n\n### Query parameters\n\n`pageSize` `integer` \nOptional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. These events are ordered by timestamp in ascending order.\n`pageToken` `string` \nOptional. The [nextPageToken](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/projects.locations.reasoningEngines.sessions.events/list#body.ListEventsResponse.FIELDS.next_page_token) value returned from a previous list [SessionService.ListEvents](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/projects.locations.reasoningEngines.sessions.events/list#google.cloud.aiplatform.v1beta1.SessionService.ListEvents) call.\n`filter` `string` \nOptional. The standard list filter. Supported fields: \\* `timestamp` range (i.e. `timestamp\u003e=\"2025-01-31T11:30:00-04:00\"` where the timestamp is in RFC 3339 format)\n\nMore detail in [AIP-160](https://google.aip.dev/160).\n\n### Request body\n\nThe request body must be empty. \n\n### Response body\n\nResponse message for [SessionService.ListEvents](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/projects.locations.reasoningEngines.sessions.events/list#google.cloud.aiplatform.v1beta1.SessionService.ListEvents).\n\nIf successful, the response body contains data with the following structure:\nFields `sessionEvents[]` `object (`[SessionEvent](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/SessionEvent)`)` \nA list of events matching the request. Ordered by timestamp in ascending order.\n`nextPageToken` `string` \nA token, which can be sent as [ListEventsRequest.page_token](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/projects.locations.reasoningEngines.sessions.events/list#body.QUERY_PARAMETERS.page_token) to retrieve the next page. Absence of this field indicates there are no subsequent pages."]]