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 parent agent to export intents. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.
Authorization requires the following IAM permission on the specified resource parent:
dialogflow.intents.get
Request body
The request body contains data with the following structure:
JSON representation
{"intents": [string],"dataFormat": enum (DataFormat),// Union field destination can be only one of the following:"intentsUri": string,"intentsContentInline": boolean// End of list of possible types for union field destination.}
Fields
intents[]
string
Required. The name of the intents to export. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
Optional. The data format of the exported intents. If not specified, BLOB is assumed.
Union field destination. The destination to export. destination can be only one of the following:
intentsUri
string
Optional. The Google Cloud Storage URI to export the intents to. The format of this URI must be gs://<bucket-name>/<object-name>.
Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.
intentsContentInline
boolean
Optional. The option to return the serialized intents inline.
Response body
If successful, the response body contains an instance of Operation.
[[["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 endpoint exports selected intents from a Dialogflow CX agent, allowing you to save or transfer intent data.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the parent agent's name and allows you to specify which intents to export using the intents field.\u003c/p\u003e\n"],["\u003cp\u003eYou can choose the format of the exported data as BLOB, JSON, or CSV using the \u003ccode\u003edataFormat\u003c/code\u003e field, with BLOB being the default if not specified.\u003c/p\u003e\n"],["\u003cp\u003eThe exported data can be written to a Google Cloud Storage URI or returned inline as serialized intents, and the request needs proper authorization to either of those destinations.\u003c/p\u003e\n"],["\u003cp\u003eThis operation is asynchronous, returning an Operation object with metadata and response fields to track its progress and eventual result.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.agents.intents.export\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [DataFormat](#DataFormat)\n- [Try it!](#try-it)\n\nExports the selected intents.\n\nThis method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:\n\n- `metadata`: [ExportIntentsMetadata](/dialogflow/cx/docs/reference/rest/v3beta1/ExportIntentsMetadata)\n- `response`: [ExportIntentsResponse](/dialogflow/cx/docs/reference/rest/v3beta1/ExportIntentsResponse)\n\n### HTTP request\n\n`POST https://{endpoint}/v3beta1/{parent=projects/*/locations/*/agents/*}/intents:export`\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### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/dialogflow/cx/docs/reference/rest/v3beta1/projects.locations.operations#Operation).\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\nDataFormat\n----------\n\nData format of the exported intents."]]