Stay organized with collections
Save and categorize content based on your preferences.
You can export conversation messages to a
Cloud Storage bucket. Each conversation is exported as a
separate JSON file in the
standard conversation data format.
A maximum of 10,000 conversations can be exported at a time, and each
conversation can have at most 1000 messages.
Authentication and access control
When you send a request to export conversations, use your
end-user credentials for authentication.
Your user account must be granted at least a read role for the Dialogflow
API and an edit role (with the ability to overwrite objects) for the Cloud Storage bucket you want to export data to. For more details on user account
roles see the Cloud Storage access control
and Dialogflow access control documentation.
When executing REST requests at the command-line:
Use gcloud auth login
to authenticate gcloud with your user account.
Only conversations that have been
completed are
available for export. Old conversations are deleted by the system periodically,
so if you try to reference an older conversation it may no longer be available.
[[["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-21 UTC."],[[["This feature is currently in a pre-general availability (Pre-GA) stage, meaning it is provided \"as is\" with potentially limited support, and it is subject to the \"Pre-GA Offerings Terms\"."],["You can export conversation messages to a Cloud Storage bucket as separate JSON files, with each conversation containing at most 1000 messages, and up to 10,000 conversations can be exported in one request."],["Exporting conversations requires user authentication with at least a read role for the Dialogflow API and an edit role for the designated Cloud Storage bucket."],["Only conversations that have been marked as completed are available for export, and older conversations may be deleted over time."],["To initiate the export, use the `exportMessages` method, which operates as a long-running operation, requiring you to monitor its status for completion."]]],[]]