<?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 Re: Can I publish the query stored in the &amp;quot;Query History&amp;quot;? in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/can-i-publish-the-query-stored-in-the-quot-query-history-quot/m-p/151164#M1711</link>
    <description>&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;You can use the SQL string generated by agent handling the English - SQL conversion using code &amp;amp; display it along with results in the web app&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Query the system query history table with statement ID for statement_text (system.query.history) &amp;amp; display the executed query in the web app if issues in finding the query generated by agent&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;More details &lt;A href="https://docs.databricks.com/aws/en/admin/system-tables/query-history" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Mar 2026 16:23:05 GMT</pubDate>
    <dc:creator>balajij8</dc:creator>
    <dc:date>2026-03-17T16:23:05Z</dc:date>
    <item>
      <title>Can I publish the query stored in the "Query History"?</title>
      <link>https://community.databricks.com/t5/generative-ai/can-i-publish-the-query-stored-in-the-quot-query-history-quot/m-p/151155#M1710</link>
      <description>&lt;P&gt;I’m using an agent within a Databricks app that converts plain English into SQL, executes the query against a warehouse table, and returns the results.&lt;/P&gt;&lt;P&gt;I’d like to know if there’s a way to also surface or publish the generated SQL query within the app. I can see the query in the Query History, but I haven’t found a way to expose it directly in the app interface.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 15:55:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/can-i-publish-the-query-stored-in-the-quot-query-history-quot/m-p/151155#M1710</guid>
      <dc:creator>mimsalar</dc:creator>
      <dc:date>2026-03-17T15:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can I publish the query stored in the "Query History"?</title>
      <link>https://community.databricks.com/t5/generative-ai/can-i-publish-the-query-stored-in-the-quot-query-history-quot/m-p/151164#M1711</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;You can use the SQL string generated by agent handling the English - SQL conversion using code &amp;amp; display it along with results in the web app&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Query the system query history table with statement ID for statement_text (system.query.history) &amp;amp; display the executed query in the web app if issues in finding the query generated by agent&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;More details &lt;A href="https://docs.databricks.com/aws/en/admin/system-tables/query-history" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 16:23:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/can-i-publish-the-query-stored-in-the-quot-query-history-quot/m-p/151164#M1711</guid>
      <dc:creator>balajij8</dc:creator>
      <dc:date>2026-03-17T16:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can I publish the query stored in the "Query History"?</title>
      <link>https://community.databricks.com/t5/generative-ai/can-i-publish-the-query-stored-in-the-quot-query-history-quot/m-p/151193#M1714</link>
      <description>&lt;P&gt;You may have to add a call to the Query History API with the necessary &lt;STRONG&gt;filter_by&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.databricks.com/api/workspace/queryhistory/list" target="_blank"&gt;https://docs.databricks.com/api/workspace/queryhistory/list&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 02:07:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/can-i-publish-the-query-stored-in-the-quot-query-history-quot/m-p/151193#M1714</guid>
      <dc:creator>MoJaMa</dc:creator>
      <dc:date>2026-03-18T02:07:31Z</dc:date>
    </item>
  </channel>
</rss>

