Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single consolidated console. See the details.
Required. The name of the entity type. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.entityTypes.get
Query parameters
Parameters
languageCode
string
The language to retrieve the entity type for. The following fields are language dependent:
EntityType.entities.value
EntityType.entities.synonyms
EntityType.excluded_phrases.value
If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of EntityType.
[[["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-03-05 UTC."],[[["This webpage details how to retrieve a specific entity type using a GET request to the Dialogflow API."],["The request URL requires the full resource name as a path parameter, formatted as `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/entityTypes/\u003cEntityTypeID\u003e`."],["The `languageCode` query parameter is optional and allows for specifying the language in which to retrieve entity values, synonyms, and excluded phrases, falling back to the agent's default language if left unspecified."],["The request body must be empty when making this GET request, and a successful response will contain an instance of the EntityType resource."],["Authorization for this request requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scope, with the `dialogflow.entityTypes.get` IAM permission also necessary on the resource."]]],[]]