> [!WARNING]
>
> **Preview**
>
>
> This feature is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the
> [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> Pre-GA features are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).

> [!CAUTION]
> **Caution:** This feature won't be made generally available. For new Agent Assist use cases, enable [**Send data to Customer Experience Insights**](https://docs.cloud.google.com/gemini-enterprise-cx/insights/enable-dialogflow-runtime-integration.md.txt#enable_audio_export) in your security settings, and use CX Insights to [export your data to BigQuery](https://docs.cloud.google.com/gemini-enterprise-cx/insights/export.md.txt). For real time streaming delivery of transcripts and suggestions without batch export, you can also configure [Pub/Sub notifications](https://docs.cloud.google.com/gemini-enterprise-cx/agent-assist/pub-sub.md.txt) on your conversation profile.

You can export conversation messages to a
[Cloud Storage](https://docs.cloud.google.com/storage/docs.md.txt) bucket. Each conversation is exported as a
separate JSON file in the
[standard conversation data format](https://docs.cloud.google.com/gemini-enterprise-cx/agent-assist/conversation-data-format.md.txt#conversation_transcript_data).
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](https://docs.cloud.google.com/docs/authentication/end-user).
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](https://docs.cloud.google.com/storage/docs/access-control/iam-roles.md.txt)
and [Dialogflow access control](https://docs.cloud.google.com/dialogflow/docs/access-control) documentation.

When executing REST requests at the command-line:

- Use [`gcloud auth login`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/login.md.txt) to authenticate `gcloud` with your user account.
- Use [`gcloud auth print-access-token`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/print-access-token.md.txt) to create a token for request authentication.

## Conversations available for export

Only conversations that have been
[completed](https://docs.cloud.google.com/gemini-enterprise-cx/agent-assist/pgka.md.txt#complete_the_conversation) 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.