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 intent. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.intents.get
Query parameters
Parameters
languageCode
string
The language to retrieve the intent for. The following fields are language dependent:
Intent.training_phrases.parts.text
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 Intent.
[[["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 intent using a GET HTTP request to a defined endpoint."],["The request requires a `name` path parameter specifying the intent's unique identifier in the format: `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/intents/\u003cIntentID\u003e`."],["The `languageCode` query parameter allows retrieval of language-specific intent data, defaulting to the agent's default language if not provided."],["The request body must be empty, and a successful request will return an `Intent` instance in the response body."],["Authorization for this operation requires one of the listed OAuth scopes, such as `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."]]],[]]