Article

Chat with your data from anywhere: Announcing Google’s Conversational Analytics API

image

Decision-makers, employees, and customers all need answers where they work: in the applications they use every day. In recent years, the rise of AI-powered BI has transformed our relationship with data, enabling us to ask questions in natural language and get answers fast. But even with support for natural language, the insights you receive are often confined to the data in your BI tool. At Google Cloud, our goal is to change this.


Google Cloud introduced the Conversational Analytics API, which lets developers embed natural-language query functionality in custom applications, internal tools, or workflows, all backed by trusted data access and scalable, reliable data modeling. The API is already powering first-party Google Cloud conversational experiences including Looker and BigQuery data canvas, and is available for Google Cloud developers of all stripes to implement wherever their imagination takes them. Today we release the Conversational Analytics API in public preview. Start building with Google Cloud documentation.


The Conversational Analytics API lets you build custom data experiences that provide data, chart, and text answers while leveraging Looker's trusted semantic model for accuracy or providing critical business and data context to agents in BigQuery. You can embed this functionality to create intuitive data experiences, enable complex analysis via natural language, and even orchestrate conversational analytics agents as ‘tools’ for an orchestrator agent using Agent Development Kit.


https://storage.googleapis.com/gweb-cloudblog-publish/original_images/1_veKmF4a.gif

The Google Health Population app is being developed with the Conversational Analytics API


Getting to know the Conversational Analytics API

The Conversational Analytics API allows you to interact with your BigQuery or Looker data through chat, from anywhere. Embed side-panel chat next to your Looker dashboards, invoke agents in chat applications like Slack, customize your company’s web applications, or build multi-agent systems.


This API empowers your team to obtain answers precisely when and where they are needed, directly within their daily workflows. It achieves this by merging Google's advanced AI models and agentic capabilities with Looker's semantic layer and BigQuery's context engineering services. The result is natural language experiences that can be shared across your organization, making data-to-insight interaction seamless in your company's most frequently used applications.


Building with Google’s Analytics and AI stack comes with significant benefits in accurate question answering:


  • Best-in-class AI for data analytics
  • An agentic architecture that enables the system to perceive its environment and take actions
  • Access to Looker’s powerful semantic layer for trustworthy answers
  • High-performance agent tools, including software functions, charts and APIs, supported by dedicated engineering teams
  • Python code interpreter for advanced analysis
  • Tune your agent’s knowledge with structured context and prompts


Flexibility to build the agentic applications that best suit your data needs:

  • Create, update, and share agents that let users chat with BigQuery or Looker data 
  • Lower maintenance burden via stateful APIs for agent and conversation management
  • Full control of your user experience via our stateless chat API
  • Build multi-agent architectures by wrapping APIs with ADK and MCP
  • Help agents understand your business and data with AI-Assisted context engineering
  • Version control your agents, updating prompts without affecting production use


And the enterprise controls and security you expect from Google Cloud Platform:

  • Govern the use of agents using role based access controls
  • Trust your data is secure with data with row and column level access controls by default
  • Guard against expensive queries with built-in query limitations


When pairing Conversational Analytics API with Looker, Looker’s semantic layer reduces data errors in gen AI natural language queries by as much as two thirds, so that queries are sourced in truth.


https://storage.googleapis.com/gweb-cloudblog-publish/images/2_F9tAD9S.max-1800x1800.png

Looker’s semantic layer ensures your conversational analytics are grounded in data truth.


An agentic architecture powered by Google AI

The Conversational Analytics API uses purpose-built models for querying and analyzing data to provide accurate answers, while its flexible agentic architecture lets you configure which capabilities the agent leverages to best provide users with answers to their questions.


https://storage.googleapis.com/gweb-cloudblog-publish/images/3_7qaisEh.max-1600x1600.png

Conversational Analytics leverages an agentic architecture to empower agent creators with the right tools.


As a developer, you can compose AI-powered agents with the following tools:


  • Text-to-SQL, trusted by customers using Gemini in BigQuery
  • Context retrieval, informed by personalized and organization usage
  • Looker's NL-to-Looker Query Engine, to leverage the analyst-curated semantic layer
  • Code Interpreter, for advanced analytics like forecasting and root-cause analysis
  • Charting, to create stunning visualizations and bring data to life
  • Insights, to explain answers in plain language 


These generative AI tools are built upon Google’s latest Gemini models and fine-tuned for specific data analysis tasks to deliver high levels of accuracy. There’s also the Code Interpreter for Conversational Analytics, which provides computations ranging from cohort analysis to period-over-period calculations. Currently in preview, Code Interpreter turns you into a data scientist without having to learn advanced coding or statistical methods.


Context retrieval and generation

A good data analyst isn’t just smart, but also deeply knowledgeable about your business and your data. To provide the same kind of value, a “chat with your data” experience should be just as knowledgeable. That’s why the Conversational Analytics API prioritizes gathering context about your data and queries.


Thanks to retrieval augmented generation (RAG), our Conversational Analytics agents know you and your data well enough to know that when you’re asking for sales in “New York” or “NYC,” you mean “New York City.” The API understands your question’s meaning to match it to the most relevant fields to query, and learns from your organization, recognizing that, for example, “revenue_final_calc” may be queried more frequently than “revenue_intermediate” in your BigQuery project, and adjusts accordingly. Finally, the API learns from your past interactions; it will remember that you queried about “customer lifetime value” in BigQuery Studio on Tuesday when you ask about it again on Friday.


Not all datasets have the context an agent needs to do its work. Column descriptions, business glossaries, and question-query pairs can all improve an agent’s accuracy, but they can be hard to create manually— especially if you have 1,000 tables in your business, each with 500 fields. To speed up the process of teaching your agent, Google Cloud including AI-assisted context, using Gemini to suggest metadata that might be useful for your agent to know, while letting you approve or reject changes.


Low maintenance burden

The Conversational Analytics API gives you access to the latest data agent tools from Google Cloud, so you can focus on building your business, not building more agents. You benefit from Google’s continued advancements in generative AI for coding and data analysis.


When you create an agent, Google Cloud protect your data with Google’s security, best practices, and role-based access controls. Once you share your Looker or BigQuery agent, it can be used across Google Cloud products, such as Agent Development Kit, and in your own applications.


https://storage.googleapis.com/gweb-cloudblog-publish/original_images/4_NcRs0F5.gif

The Conversational Analytics API lets you interact with your data anywhere.


API powered chats from anywhere

With agents consumable via API, you can surface insights anywhere decision makers need them—whether it’s when speaking with a customer over a support ticket, via a tablet when you’re in the field, or in your messaging apps.


The Conversational Analytics API is designed to bring benefits to all users, whether they be business users, data analysts building agents, or software developers. With Conversational Agents, when a user asks a question, answers are delivered rapidly alongside the agent’s thinking process, to ensure the right approach to gaining insights is used. Individual updates allow your developers to control what a user sees — like answers and charts — and what you want to log for later auditing by analysts — like SQL and Python code. 

Related News

Card image cap

Scale enterprise search and agent adoption with Google Agentspace

See Detail
Card image cap

Get value from data quickly with Informatica Data Loader for BigQuery

See Detail
Card image cap

Now generally available: BigQuery BI Engine supports any BI tool or custom application

See Detail