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 endpoint retrieves a specific entity type using a `GET` request to a URL with a defined format including project, location, agent, and entity type IDs."],["The `name` path parameter is required, and specifies the entity type to retrieve, with a specific format and requires certain IAM permissions."],["The optional `languageCode` query parameter allows for retrieving entity type information in a specific language, and if not specified, defaults to the agent's language."],["The request body for this operation must be empty, and a successful response contains an instance of `EntityType`."],["Authorization for this endpoint requires either `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scopes."]]],[]]