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.
Appends an event to a given session.
Endpoint
post
https://aiplatform.googleapis.com/v1beta1/{name}:appendEvent
Path parameters
name
string
Required. The resource name of the session to append event to. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}/sessions/{session}
Request body
The request body contains an instance of SessionEvent.
[[["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-05-20 UTC."],[],[]]