This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
HTTP request
GET https://{endpoint}/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}
Required. The name of the session entity type. Format: projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
Display Name> or projects/<Project ID>/agent/environments/<Environment
ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
Name>. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.sessionEntityTypes.get
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SessionEntityType.
[[["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 endpoint retrieves a specified session entity type, but it is not compatible with Google Assistant integration.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a GET method with a URL structure that includes path parameters such as project, environment, user, session, and entity type names.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is required and follows a specific format, and authorization to use the endpoint requires a specified IAM permission, \u003ccode\u003edialogflow.sessionEntityTypes.get\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty for this endpoint.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will return a response body that contains an instance of \u003ccode\u003eSessionEntityType\u003c/code\u003e, and you will need to use either \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e authorization scopes to access it.\u003c/p\u003e\n"]]],[],null,[]]