Can I publish the query stored in the "Query History"?

mimsalar
New Contributor II

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.

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.