<?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: How to retrieve Genie's narrative text summary (final_summary) via API? in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/144184#M1554</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/195830"&gt;@OliverMini&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/204832"&gt;@tulga-orosoo&lt;/a&gt;&amp;nbsp;I just got notified that&amp;nbsp;&lt;SPAN&gt;text answer summaries will now return in the get message API as a text attachment! See&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/api/workspace/genie/getmessage" target="_blank" rel="nofollow noreferrer noopener" data-saferedirecturl="https://www.google.com/url?q=https://docs.databricks.com/api/workspace/genie/getmessage&amp;amp;source=gmail&amp;amp;ust=1768603876276000&amp;amp;usg=AOvVaw3bDJ7e9BwVygP2Nv_ihg75"&gt;https://docs.databricks.com/&lt;WBR /&gt;api/workspace/genie/getmessage&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jan 2026 22:58:48 GMT</pubDate>
    <dc:creator>stbjelcevic</dc:creator>
    <dc:date>2026-01-15T22:58:48Z</dc:date>
    <item>
      <title>How to retrieve Genie's narrative text summary (final_summary) via API?</title>
      <link>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/140227#M1443</link>
      <description>&lt;P class=""&gt;Dear Databricks Community,&lt;/P&gt;&lt;P class=""&gt;I am trying to programmatically access the narrative text summary that Databricks Genie displays in the UI, but I cannot find it in the public API responses.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;What I see in the UI:&lt;/STRONG&gt; When I ask Genie a question, the UI displays a helpful narrative summary like:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;"The top 10 records from the sales order lines table have been retrieved. Examples include:&lt;/SPAN&gt;&lt;SPAN&gt;- OrderLineID: 231412, CustomerName: Example Customer, StockItemName: Example Stock Item, Quantity: 8, LineNetAmount: 252.0"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;&lt;STRONG&gt;What I've tried:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL class=""&gt;&lt;LI&gt;Using the public API endpoint: /api/2.0/genie/spaces/{space_id}/conversations/{conversation_id}/messages/{message_id}&lt;UL class=""&gt;&lt;LI&gt;This returns attachments with query.description (e.g., "You want to see the top 10 sales order lines...") but NOT the full narrative summary&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Checked the Databricks SDK (WorkspaceClient().genie.start_conversation_and_wait())&lt;UL class=""&gt;&lt;LI&gt;Same issue - only returns query description, not the narrative text&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Used browser network inspection and found the text in: /ajax-api/2.0/data-rooms/{space_id}/conversations/{conversation_id}/messages/{message_id}&lt;UL class=""&gt;&lt;LI&gt;This endpoint returns attachments[].final_summary.result_summary with the full narrative&lt;/LI&gt;&lt;LI&gt;However, this endpoint requires CSRF tokens and is meant for browser use only (returns 403 error from Python)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&lt;STRONG&gt;What I have discovered:&lt;/STRONG&gt; The narrative summary exists in a final_summary field that appears in the /ajax-api/ endpoint but not in the public /api/ endpoints.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; Is there a supported way to retrieve Genie's final_summary narrative text programmatically? Or is this feature only available through the web UI currently?&lt;/P&gt;&lt;P class=""&gt;Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 20:29:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/140227#M1443</guid>
      <dc:creator>OliverMini</dc:creator>
      <dc:date>2025-11-24T20:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve Genie's narrative text summary (final_summary) via API?</title>
      <link>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/140230#M1444</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/195830"&gt;@OliverMini&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The “answer summary”/“final summary” shown in the UI is a newer attachment type and is not yet exposed in the public API. It is being tracked internally as a potential enhancement as there appears to be a good amount of demand for it, but I cannot guarantee if/when if will be added.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 20:39:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/140230#M1444</guid>
      <dc:creator>stbjelcevic</dc:creator>
      <dc:date>2025-11-24T20:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve Genie's narrative text summary (final_summary) via API?</title>
      <link>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/143406#M1552</link>
      <description>&lt;P class=""&gt;Dear Databricks Community,&lt;/P&gt;&lt;P class=""&gt;My team is trying the exact same thing and facing this limitation. Is there any timeline for the enhancement?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 04:05:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/143406#M1552</guid>
      <dc:creator>tulga-orosoo</dc:creator>
      <dc:date>2026-01-09T04:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve Genie's narrative text summary (final_summary) via API?</title>
      <link>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/144184#M1554</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/195830"&gt;@OliverMini&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/204832"&gt;@tulga-orosoo&lt;/a&gt;&amp;nbsp;I just got notified that&amp;nbsp;&lt;SPAN&gt;text answer summaries will now return in the get message API as a text attachment! See&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/api/workspace/genie/getmessage" target="_blank" rel="nofollow noreferrer noopener" data-saferedirecturl="https://www.google.com/url?q=https://docs.databricks.com/api/workspace/genie/getmessage&amp;amp;source=gmail&amp;amp;ust=1768603876276000&amp;amp;usg=AOvVaw3bDJ7e9BwVygP2Nv_ihg75"&gt;https://docs.databricks.com/&lt;WBR /&gt;api/workspace/genie/getmessage&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 22:58:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/144184#M1554</guid>
      <dc:creator>stbjelcevic</dc:creator>
      <dc:date>2026-01-15T22:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve Genie's narrative text summary (final_summary) via API?</title>
      <link>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/144609#M1564</link>
      <description>&lt;P&gt;Hey, thank you very much! Confirm the text summary is in the response now.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 15:55:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/how-to-retrieve-genie-s-narrative-text-summary-final-summary-via/m-p/144609#M1564</guid>
      <dc:creator>tulga-orosoo</dc:creator>
      <dc:date>2026-01-20T15:55:33Z</dc:date>
    </item>
  </channel>
</rss>

