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 agent to list all intents for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.
Authorization requires the following IAM permission on the specified resource parent:
dialogflow.intents.list
Query parameters
Parameters
languageCode
string
The language to list intents 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.
Represents the options for views of an intent. An intent can be a sizable object. Therefore, we provide a resource view that does not return training phrases in the response.
Enums
INTENT_VIEW_UNSPECIFIED
Not specified. Treated as INTENT_VIEW_FULL.
INTENT_VIEW_PARTIAL
Training phrases field is not populated in the response.
[[["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 API endpoint retrieves a list of intents for a specified agent using a \u003ccode\u003eGET\u003c/code\u003e request to a specific URL structure, including the agent's project, location, and ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter, specifying the agent, and authorization with the \u003ccode\u003edialogflow.intents.list\u003c/code\u003e IAM permission, along with the option to use query parameters like \u003ccode\u003elanguageCode\u003c/code\u003e, \u003ccode\u003eintentView\u003c/code\u003e, \u003ccode\u003epageSize\u003c/code\u003e, and \u003ccode\u003epageToken\u003c/code\u003e for refining results.\u003c/p\u003e\n"],["\u003cp\u003eThe response is a JSON object that includes an array of \u003ccode\u003eintents\u003c/code\u003e and a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, with the option of the view of the returned intent being specified via the \u003ccode\u003eintentView\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe API request requires no request body, but it requires authorization using one of the provided OAuth scopes, \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\u003eThe \u003ccode\u003elanguageCode\u003c/code\u003e query parameter specifies the language for the listed intents, using the agent's default language if left unspecified, while the \u003ccode\u003eIntentView\u003c/code\u003e enums can return training phrases or not.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.agents.intents.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListIntentsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IntentView](#IntentView)\n- [Try it!](#try-it)\n\nReturns the list of all intents in the specified agent.\n\n### HTTP request\n\n`GET https://{endpoint}/v3beta1/{parent=projects/*/locations/*/agents/*}/intents`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/dialogflow/cx/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response message for [Intents.ListIntents](/dialogflow/cx/docs/reference/rest/v3beta1/projects.locations.agents.intents/list#google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/dialogflow`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\nIntentView\n----------\n\nRepresents the options for views of an intent. An intent can be a sizable object. Therefore, we provide a resource view that does not return training phrases in the response."]]