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/{project}/locations/{location}/collections/{collection}/dataStores/{dataStoreId}/sessions/{sessionId}`."],["The request URL accepts an optional query parameter `includeAnswerDetails` to include the full session details in the response, which defaults to false."],["The request body for this operation must be empty as it does not take any request data."],["A successful response will contain an instance of the Session object, detailed in the API reference."],["Access to this endpoint requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `discoveryengine.sessions.get`."]]],[]]