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 request to the Dialogflow API."],["The request URL requires a path parameter, `name`, which specifies the intent's unique identifier within the Dialogflow project."],["An optional query parameter, `languageCode`, can be used to retrieve the intent data for a specific language; otherwise, the agent's default language will be used."],["The request body for this operation must be empty and the response will return an intent resource if successful."],["Access to this API method requires specific OAuth scopes, either `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."]]],[]]