Conversation history

You can use the conversation history interface to browse the conversations saved by the agent application.

Open conversation history

To open the conversation history:

  1. Open the agent builder.
  2. Open agent preview.
  3. Click the conversation history button in the agent preview title bar.

Redaction

If Data Loss Prevention (DLP) redaction is enabled, it is applied before any conversation data is written to storage. This ensures that all persisted transcripts and interaction data are fully redacted at the source.

How data is stored

Conversation data is stored long-term in the following ways:

  • Customer-owned storage: This is data that you opt-in configure for storage in a system that you have access to. This data is stored within your Google Cloud boundary, giving you complete IAM control. The following systems are used:
    • BigQuery for custom analytics.
    • Cloud Storage for raw audio recordings.
    • Cloud Logging for service logs.
  • Google-managed storage: This is data that is stored and managed by Google that you do not have access to. This data contains redacted conversation transcripts, tracing metrics (tool failure, tool latency, etc.), conversation metrics (total sessions, escalation rate, turns per session, etc. used by the monitor dashboard), and AI analysis metrics (AI aversion, abandonment rate, and conversation outcomes). The following systems are used:
    • Spanner: Single-tenant if CMEK is used, multi-tenant otherwise, used by CX Agent Studio and CX Insights to surface conversation history.
    • BigQuery: Single-tenant instance used by CX Insights for agent performance monitoring.

Conversation data is stored short-term in the following situations:

  • A memcache is used for active session management and metadata Time-to-live (TTL) is 30 minutes, after which time the data is deleted.
  • A Text-to-Speech (TTS) Memstore cache is used for voice agents to optimize output latency. TTL is 1 hour.

Settings for controlling conversation data storage

There are several settings which allow you to control how conversation data is stored:

  • Log your customer conversations: If disabled, all types of long-term conversational data except BigQuery data (which you can disable separately) are disabled. This applies to both CX Agent Studio and CX Insights. Disabling this integration will impact the monitor dashboard, as no data will be stored to populate the dashboard. The data is logically isolated, regionalized to match your deployment, and retained for a configurable period (default 1 year, maximum 2 years).
  • Improve agent performance by sharing conversation data: This setting permits the sharing of operational metrics and system call traces with Google to accelerate troubleshooting and improve system reliability. Google enforces a strict policy that customer content shared using this toggle is never used to train Google's production machine learning models.
  • Export logs to BigQuery & Audio recording: Routes raw interaction data and audio to your designated, self-managed Google Cloud storage resources.
  • Enable Cloud Logging: Streams service and operational logs to your Cloud Logging environment.
  • Enable redaction: Activates the DLP engine to automatically identify and scrub sensitive data before persistence.

Google access to conversation data

Google support and engineering personnel may have controlled, just-in-time access to Google-managed operational data for critical debugging and system maintenance. However, if Log your customer conversations is disabled, conversational data does not exist in any Google-owned persistent storage to be accessed. Only active session metadata andTTS cache is briefly held in a 30-60 minute memcache to facilitate the live call. Customer-owned resources remain entirely under your exclusive IAM control.

Data protection is enforced through multiple layers:

  • Redaction: DLP redacts sensitive data before any write occurs.
  • Access Transparency (AxT): All Google personnel access to conversation data is logged and compliant with Access Transparency controls, allowing customers to request and review audit logs.