Method: projects.agent.export

Exports the specified agent to a ZIP file.

Operation <response: ExportAgentResponse>

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The project that the agent to export is associated with. Format: projects/<Project ID>.

Authorization requires the following Google IAM permission on the specified resource parent:

  • dialogflow.agents.export

Request body

The request body contains data with the following structure:

JSON representation
  "agentUri": string


Required. The Google Cloud Storage URI to export the agent to. The format of this URI must be gs://<bucket-name>/<object-name>. If left unspecified, the serialized agent is returned inline.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.

Try it!

Was deze pagina nuttig? Laat ons weten hoe goed we u hebben geholpen:

Feedback verzenden over...

Hulp nodig? Ga naar onze ondersteuningspagina.