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."],["The `name` path parameter, which is required, specifies the resource name of the Session to retrieve, following the format `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStoreId}/sessions/{sessionId}`."],["An optional `includeAnswerDetails` query parameter can be set to `true` to retrieve the full session including answer details."],["The request body must be empty, and the response body, if successful, will contain an instance of the Session resource."],["To use this endpoint, you need the `https://www.googleapis.com/auth/cloud-platform` OAuth scope and the `discoveryengine.sessions.get` IAM permission on the specified `name` resource."]]],[]]