Required. The resource name of the Session to get. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStoreId}/sessions/{sessionId}
Query parameters
Parameters
includeAnswerDetails
boolean
Optional. If set to true, the full session including all answer details will be returned.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Session.
[[["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-02-28 UTC."],[[["This endpoint retrieves a specific Session resource using a `GET` request at the provided URL, which requires a fully specified resource name in the format `projects/*/locations/*/collections/*/engines/*/sessions/*`."],["The `name` path parameter is mandatory and represents the resource name of the Session being requested, in the format `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStoreId}/sessions/{sessionId}`."],["An optional query parameter, `includeAnswerDetails`, allows for the inclusion of full answer details in the returned session if set to true."],["The request body must be empty, as no data is sent in the body of this `GET` request, and upon successful retrieval, a `Session` resource is returned in the response body."],["Accessing this endpoint requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the `discoveryengine.sessions.get` IAM permission on the specified `name` resource."]]],[]]