Join the Dialogflow CX competition! Get trained in Dialogflow CX, work on open-source conversational components, get a free Dialogflow t-shirt and win cool prizes! Learn more.

Method: projects.locations.agents.entityTypes.get

Retrieves the specified entity type.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>.

Authorization requires the following IAM permission on the specified resource name:

  • dialogflow.entityTypes.get

Query parameters



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.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.