<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to programatically extract rendered or computed data from AIBI Lakeview dashboard widget via API in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/how-to-programatically-extract-rendered-or-computed-data-from/m-p/157244#M2588</link>
    <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;We're building an automated data quality testing framework for AI/BI (Lakeview) dashboards. Our goal is to validate that dashboard widgets display correct data without using UI automation (Selenium/Playwright don't work reliably due to React dynamic DOM and Canvas rendering).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;What we've tried so far:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;GET /api/2.0/lakeview/dashboards/{dashboard_id} Returns the dashboard definition (serialized_dashboard JSON with datasets, queries, widgets, measures). This is metadata only — no computed data.&lt;/LI&gt;&lt;LI&gt;GET /api/2.0/workspace/export?path=/path/to/dashboard.lvdash.json Returns the same .lvdash.json definition file. Again, no data.&lt;/LI&gt;&lt;LI&gt;GET /api/2.0/lakeview/dashboards/{dashboard_id}/published Returns published dashboard metadata (warehouse ID, publish time). No computed data.&lt;/LI&gt;&lt;LI&gt;SQL Statement Execution API (POST /api/2.0/sql/statements) We extract queries from the dashboard definition and execute them ourselves. This works, but we're reconstructing what the dashboard does rather than reading what the dashboard actually renders.&lt;/LI&gt;&lt;LI&gt;Jobs API (views_to_export=DASHBOARDS) Requires a job run with a dashboard task. Not applicable to standalone AI/BI dashboards.&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Our current approach:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;Extract base queries from datasets[].queryLines[] in the dashboard definition&lt;/LI&gt;&lt;LI&gt;Resolve MEASURE() references from columns[] definitions&lt;/LI&gt;&lt;LI&gt;Apply filters as WHERE clauses (same way Lakeview does internally)&lt;/LI&gt;&lt;LI&gt;Execute via databricks-sql-connector on the same SQL Warehouse&lt;/LI&gt;&lt;LI&gt;Compare results against independently written expected queries&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Our question:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;Is there any API endpoint (current or planned) that returns the actual computed/rendered data from a Lakeview dashboard widget — i.e., the exact result set that the dashboard displays to the user after applying filters?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For example, something like:&lt;/DIV&gt;&lt;DIV&gt;GET /api/2.0/lakeview/dashboards/{id}/widgets/{widget_id}/data?filters=...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Or is extracting the query from the definition and executing it ourselves the recommended approach for programmatic data validation of AI/BI dashboards&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance!&lt;/DIV&gt;</description>
    <pubDate>Tue, 19 May 2026 11:49:18 GMT</pubDate>
    <dc:creator>vinay_ba</dc:creator>
    <dc:date>2026-05-19T11:49:18Z</dc:date>
    <item>
      <title>How to programatically extract rendered or computed data from AIBI Lakeview dashboard widget via API</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/how-to-programatically-extract-rendered-or-computed-data-from/m-p/157244#M2588</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;We're building an automated data quality testing framework for AI/BI (Lakeview) dashboards. Our goal is to validate that dashboard widgets display correct data without using UI automation (Selenium/Playwright don't work reliably due to React dynamic DOM and Canvas rendering).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;What we've tried so far:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;GET /api/2.0/lakeview/dashboards/{dashboard_id} Returns the dashboard definition (serialized_dashboard JSON with datasets, queries, widgets, measures). This is metadata only — no computed data.&lt;/LI&gt;&lt;LI&gt;GET /api/2.0/workspace/export?path=/path/to/dashboard.lvdash.json Returns the same .lvdash.json definition file. Again, no data.&lt;/LI&gt;&lt;LI&gt;GET /api/2.0/lakeview/dashboards/{dashboard_id}/published Returns published dashboard metadata (warehouse ID, publish time). No computed data.&lt;/LI&gt;&lt;LI&gt;SQL Statement Execution API (POST /api/2.0/sql/statements) We extract queries from the dashboard definition and execute them ourselves. This works, but we're reconstructing what the dashboard does rather than reading what the dashboard actually renders.&lt;/LI&gt;&lt;LI&gt;Jobs API (views_to_export=DASHBOARDS) Requires a job run with a dashboard task. Not applicable to standalone AI/BI dashboards.&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Our current approach:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;Extract base queries from datasets[].queryLines[] in the dashboard definition&lt;/LI&gt;&lt;LI&gt;Resolve MEASURE() references from columns[] definitions&lt;/LI&gt;&lt;LI&gt;Apply filters as WHERE clauses (same way Lakeview does internally)&lt;/LI&gt;&lt;LI&gt;Execute via databricks-sql-connector on the same SQL Warehouse&lt;/LI&gt;&lt;LI&gt;Compare results against independently written expected queries&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Our question:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;Is there any API endpoint (current or planned) that returns the actual computed/rendered data from a Lakeview dashboard widget — i.e., the exact result set that the dashboard displays to the user after applying filters?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For example, something like:&lt;/DIV&gt;&lt;DIV&gt;GET /api/2.0/lakeview/dashboards/{id}/widgets/{widget_id}/data?filters=...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Or is extracting the query from the definition and executing it ourselves the recommended approach for programmatic data validation of AI/BI dashboards&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance!&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 May 2026 11:49:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/how-to-programatically-extract-rendered-or-computed-data-from/m-p/157244#M2588</guid>
      <dc:creator>vinay_ba</dc:creator>
      <dc:date>2026-05-19T11:49:18Z</dc:date>
    </item>
  </channel>
</rss>

