Required. The agent to create a entity type for. Format: projects/<Project ID>/agent.
Authorization requires the following IAM permission on the specified resource parent:
dialogflow.entityTypes.create
Query parameters
Parameters
languageCode
string
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.
Request body
The request body contains an instance of EntityType.
Response body
If successful, the response body contains a newly created 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-06-27 UTC."],[[["\u003cp\u003eThis endpoint facilitates the creation of a new entity type within a specified Dialogflow agent.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST method to a specific URL structure that includes the agent's project and location, using gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter indicating the agent and an optional \u003ccode\u003elanguageCode\u003c/code\u003e query parameter for language-specific data, and it requires an instance of the entity type in the request body.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the response body returns the newly created entity type instance, and successful calls need specific authorization scopes, either \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou must train your agent prior to sending it queries, and you can refer to the documentation for more information.\u003c/p\u003e\n"]]],[],null,[]]