Required. The proxied request to ConversationalSearchService.GetSession. For [WidgetService.WidgetGetSession.get_session_request.name], only sessionId is required.
Required. Additional params for security and privacy enhancement.
GetSessionRequest
Request for GetSession method.
JSON representation
{"name": string,"includeAnswerDetails": boolean}
Fields
name
string
Required. The resource name of the Session to get. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStoreId}/sessions/{sessionId}
includeAnswerDetails
boolean
Optional. If set to true, the full session including all answer details will be returned.
[[["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."],[[["\u003cp\u003eThis content describes the \u003ccode\u003eWidgetService.WidgetGetSession\u003c/code\u003e method, which requires a JSON request including fields for \u003ccode\u003elocation\u003c/code\u003e, \u003ccode\u003econfigId\u003c/code\u003e, \u003ccode\u003egetSessionRequest\u003c/code\u003e, and \u003ccode\u003eadditionalParams\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWidgetGetSession\u003c/code\u003e method utilizes a proxied request to \u003ccode\u003eConversationalSearchService.GetSession\u003c/code\u003e, where the \u003ccode\u003ename\u003c/code\u003e (sessionId) within \u003ccode\u003egetSessionRequest\u003c/code\u003e is a required field.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSessionRequest\u003c/code\u003e includes a required \u003ccode\u003ename\u003c/code\u003e field specifying the session's resource path and an optional \u003ccode\u003eincludeAnswerDetails\u003c/code\u003e field to return full session details.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003econfigId\u003c/code\u003e and \u003ccode\u003elocation\u003c/code\u003e are required strings for the \u003ccode\u003eWidgetGetSession\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe method requires an object for \u003ccode\u003eadditionalParams\u003c/code\u003e, which are for security and privacy enhancement purposes.\u003c/p\u003e\n"]]],[],null,["# WidgetGetSessionRequest\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [GetSessionRequest](#GetSessionRequest)\n - [JSON representation](#GetSessionRequest.SCHEMA_REPRESENTATION)\n\nRequest message for `WidgetService.WidgetGetSession` method.\n\nGetSessionRequest\n-----------------\n\nRequest for GetSession method."]]