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/*/locations/*/agent/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 requires specifying the \u003ccode\u003ename\u003c/code\u003e parameter in the path, formatted as \u003ccode\u003eprojects/*/locations/*/agent/sessions/*/entityTypes/*\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and if successful, the response body will contain an instance of \u003ccode\u003eSessionEntityType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to use this endpoint requires specific IAM permissions, \u003ccode\u003edialogflow.sessionEntityTypes.get\u003c/code\u003e, and one of two OAuth scopes.\u003c/p\u003e\n"],["\u003cp\u003eThe supported service endpoints are located at the given URL, with the URLs themselves using gRPC Transcoding syntax.\u003c/p\u003e\n"]]],[],null,[]]