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.
Session entity types are referred to as User entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on.
You can redefine a session entity type at the session level to extend or replace a custom entity type at the user session level (we refer to the entity types defined at the agent level as "custom entity types").
Note: session entity types apply to all queries, regardless of the language.
Required. The unique identifier of the session entity type. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>/entityTypes/<EntityTypeID> or projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>. If Environment ID is not specified, we assume default 'draft' environment.
[[["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\u003eSession entity types, also known as User entity types, are designed for individual user-specific data like favorites or preferences.\u003c/p\u003e\n"],["\u003cp\u003eThese session entity types can extend or replace custom entity types at the user session level.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a session entity type includes its name, entity override mode, and a collection of entities.\u003c/p\u003e\n"],["\u003cp\u003eSession entity types can be created, deleted, retrieved, listed, and updated using the provided methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eentityOverrideMode\u003c/code\u003e field is a required field which indicates whether to override or supplement the custom entity type definition.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations.agents.sessions.entityTypes\n\n- [Resource: SessionEntityType](#SessionEntityType)\n - [JSON representation](#SessionEntityType.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: SessionEntityType\n---------------------------\n\nSession entity types are referred to as **User** entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on.\n\nYou can redefine a session entity type at the session level to extend or replace a [custom entity type](/dialogflow/cx/docs/reference/rest/v3beta1/projects.locations.agents.entityTypes#EntityType) at the user session level (we refer to the entity types defined at the agent level as \"custom entity types\").\n\nNote: session entity types apply to all queries, regardless of the language.\n\nFor more information about entity types, see the [Dialogflow documentation](https://cloud.google.com/dialogflow/docs/entities-overview)."]]