<?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: Databrick unity catalog REST API documentation link and lineage retention period in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/databrick-unity-catalog-rest-api-documentation-link-and-lineage/m-p/150099#M2773</link>
    <description>&lt;P class="p8i6j01 paragraph"&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/218721"&gt;@sukhendu2017&lt;/a&gt;&amp;nbsp;- Thanks for the follow‑up and for sharing the screenshot. This is a great question.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;The key point is that the official retention guarantee is what’s documented, not what an internal/UX control happens to allow:&lt;/P&gt;
&lt;UL class="p8i6j07 p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;The docs for Unity Catalog lineage and system tables describe retention as up to ~1 year. That’s the only behaviour Databricks commits to and supports as a contract.&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;The UI filter (e.g. “Last 18 months” / “All available”) can show more than 12 months in some workspaces/regions if that data happens to exist, but that is not a documented guarantee and can change over time. Think of it as “best‑effort: show whatever data is currently stored”, not “we guarantee 18/24/36 months”.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p8i6j01 paragraph"&gt;So there isn’t really a contradiction:&lt;/P&gt;
&lt;UL class="p8i6j07 p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;Docs = supported retention contract (up to 1 year).&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;UI = whatever lineage is currently available in the backend for your workspace, which may sometimes exceed 12 months but isn’t guaranteed.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p8i6j01 paragraph"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;If older lineage still exists in the backend, the UI may show it under “All available”. But because this is beyond the documented retention window, Databricks can change that behaviour or compact old data without notice. I would not design any governance process that depends on &amp;gt;12 months being present in the UI.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;You can always query whatever lineage data is currently stored in the official system tables:&lt;/P&gt;
&lt;DIV class="l8rrz21 _1ibi0s3dn" data-ui-element="code-block-container"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-sql p8i6j0e hljs language-sql _12n1b832"&gt;&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="hljs-operator"&gt;*&lt;/SPAN&gt;
&lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; system.access.table_lineage
&lt;SPAN class="hljs-keyword"&gt;WHERE&lt;/SPAN&gt; destination_table_full_name &lt;SPAN class="hljs-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;'&amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;'&lt;/SPAN&gt;
  &lt;SPAN class="hljs-keyword"&gt;AND&lt;/SPAN&gt; event_time &lt;SPAN class="hljs-operator"&gt;&amp;gt;=&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;'&amp;lt;start_timestamp&amp;gt;'&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV class="l8rrz23 _1ibi0s3d6 _1ibi0s332 _1ibi0s3do _1ibi0s3bm _1ibi0s3ce"&gt;
&lt;DIV class="lqznwq0"&gt;&lt;SPAN&gt;However, just like the UI:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;UL class="p8i6j07 p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;System tables are only guaranteed to hold data within the documented retention period (≈1 year).&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;If you currently see 18 months of lineage in the UI, you will typically see the same in &lt;CODE class="p8i6j0f"&gt;system.access.table_lineage&lt;/CODE&gt; today.... but that is not a long‑term guarantee.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p8i6j01 paragraph"&gt;If you must have a reliable 18, 24, or 36‑month lineage history, the recommended pattern is:&lt;/P&gt;
&lt;OL class="p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;Use &lt;CODE class="p8i6j0f"&gt;system.access.table_lineage&lt;/CODE&gt; (and related tables) as the supported source of lineage.&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;Set up a scheduled job to periodically export/append lineage rows into your own long‑term Delta tables or warehouse, so you control retention beyond the built‑in window.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Hope this clarifies your question.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Mar 2026 22:09:16 GMT</pubDate>
    <dc:creator>Ashwin_DSA</dc:creator>
    <dc:date>2026-03-07T22:09:16Z</dc:date>
    <item>
      <title>Databrick unity catalog REST API documentation link and lineage retention period</title>
      <link>https://community.databricks.com/t5/data-governance/databrick-unity-catalog-rest-api-documentation-link-and-lineage/m-p/149891#M2769</link>
      <description>&lt;DIV class=""&gt;Hi Team,&lt;/DIV&gt;&lt;DIV class=""&gt;Hope you guys are doing well.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Question 1:&lt;/DIV&gt;&lt;DIV class=""&gt;I am using this Databrick unity catalog rest api endpoint&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;api/2.0/lineage-tracking/table-lineage?table_name=schemaname.catalogname.tablename&amp;amp;include_entity_lineage=true&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;for getting lineage .&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Is this officially supported, if so please share the official document link.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;If not, please share the alternative rest API/SDK approach.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Question 2:&lt;/DIV&gt;&lt;DIV class=""&gt;Also, I want to get lineage for 6 months, 12 months, 18 months.&lt;/DIV&gt;&lt;DIV class=""&gt;I am using this&amp;nbsp;Databrick unity catalog rest Api endpoint&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;api/2.0/lineage-tracking/table-lineage?table_name=schemaname.catalogname.tablename&amp;amp;include_entity_lineage=true&amp;amp;start_timestamp=1725235200000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Is this officially supported, if so, please share the official document link.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;If not, please share the alternative rest API/SDK approach.&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Mar 2026 10:28:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databrick-unity-catalog-rest-api-documentation-link-and-lineage/m-p/149891#M2769</guid>
      <dc:creator>sukhendu2017</dc:creator>
      <dc:date>2026-03-05T10:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Databrick unity catalog REST API documentation link and lineage retention period</title>
      <link>https://community.databricks.com/t5/data-governance/databrick-unity-catalog-rest-api-documentation-link-and-lineage/m-p/150041#M2771</link>
      <description>&lt;P class="p8i6j01 paragraph"&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/218721"&gt;@sukhendu2017&lt;/a&gt;&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;Here’s how things stand today...&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;1. Is /api/2.0/lineage-tracking/table-lineage officially supported?&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P class="p8i6j01 paragraph"&gt;No. The endpoint&amp;nbsp;&lt;EM&gt;/api/2.0/lineage-tracking/table-lineage&lt;/EM&gt;&amp;nbsp;(including parameters like &lt;EM&gt;include_entity_lineage&lt;/EM&gt; and &lt;EM&gt;start_timestamp&lt;/EM&gt;) is an internal, undocumented API used by the Databricks UI. Since it does not appear in the official REST API reference, it is considered unsupported:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;It is not listed in the Databricks REST API &lt;A href="https://docs.databricks.com/api/workspace/introduction" target="_self"&gt;docs&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Databricks does not provide an SLA or guarantee of stability for undocumented endpoints, and they may change without notice.&lt;/LI&gt;
&lt;LI&gt;For production use, you should rely only on the APIs documented in the official reference.&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE class="p8i6j01 paragraph"&gt;&lt;STRONG&gt;2. Can I get lineage for 6, 12, or 18 months?&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P class="p8i6j01 paragraph"&gt;Unity Catalog lineage data is retained for a finite period (documented as up to 365 days in the system tables lineage documentation). For longer horizons, you need to archive:&lt;/P&gt;
&lt;UL class="p8i6j07 p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;&lt;STRONG&gt;Up to ~12 months:&lt;/STRONG&gt; Use official system tables for lineage rather than the internal REST endpoint.&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;&lt;STRONG&gt;Beyond 12 months (e.g., 18 months):&lt;/STRONG&gt; Not retained by default. You must export/archive lineage yourself (e.g., into your own Delta tables) before it ages out.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p8i6j01 paragraph"&gt;My recommendation would be... Instead of calling the internal &lt;EM&gt;/lineage-tracking/table-lineage&lt;/EM&gt; endpoint, use:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;System table &lt;EM&gt;system.access.table_lineage&lt;/EM&gt; (and related tables) as the supported source of lineage, and&lt;/LI&gt;
&lt;LI&gt;The Statement Execution REST API or a Databricks SDK to run SQL queries over those tables and filter for your required 6 or 12 month window.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p8i6j01 paragraph"&gt;For 18 month requirements, implement a scheduled job that reads from &lt;EM&gt;system.access.table_lineage&lt;/EM&gt; and writes lineage data to your own long‑term storage before it expires.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;Relevant docs as requested:&lt;/P&gt;
&lt;UL class="p8i6j07 p8i6j02 lia-list-style-type-circle"&gt;
&lt;LI class="p8i6j0a"&gt;Unity Catalog system tables (including lineage):&lt;BR /&gt;&lt;A class="ln4xub1 _1ibi0s36w _1ibi0s3e4 _1ibi0s3cg markdown-link _1ibi0s376" href="https://docs.databricks.com/en/admin/system-tables/lineage.html" rel="noreferrer" target="_blank"&gt;&amp;nbsp;&lt;SPAN class="f8uo5q0"&gt;https://docs.databricks.com/en/admin/system-tables/lineage.html&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;A class="ln4xub1 _1ibi0s36w _1ibi0s3e4 _1ibi0s3cg markdown-link _1ibi0s376" href="https://docs.databricks.com/en/admin/system-tables/index.html" rel="noreferrer" target="_blank"&gt;&amp;nbsp;&lt;SPAN class="f8uo5q0"&gt;https://docs.databricks.com/en/admin/system-tables/index.html&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;Databricks SQL Statement Execution REST API (to query system tables programmatically):&lt;BR /&gt;&lt;A class="ln4xub1 _1ibi0s36w _1ibi0s3e4 _1ibi0s3cg markdown-link _1ibi0s376" href="https://docs.databricks.com/api/workspace/statementexecution" rel="noreferrer" target="_blank"&gt;&amp;nbsp;&lt;SPAN class="f8uo5q0"&gt;https://docs.databricks.com/api/workspace/statementexecution&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Hope this helps.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 22:15:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databrick-unity-catalog-rest-api-documentation-link-and-lineage/m-p/150041#M2771</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-03-06T22:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Databrick unity catalog REST API documentation link and lineage retention period</title>
      <link>https://community.databricks.com/t5/data-governance/databrick-unity-catalog-rest-api-documentation-link-and-lineage/m-p/150079#M2772</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Thank you so much for response and solution in details.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have one question in Unity Catalog lineage UI showing last 18 months also, but as per official documentation Lineage retains up to last 1 Year. Why this contradicts statement!&amp;nbsp;&lt;BR /&gt;Also, I am trying to understand if one of the tables are having lineage from last 24 or 36 months, is it same will show in UI?&lt;/P&gt;&lt;P&gt;For reference, PFA.&lt;/P&gt;&lt;P&gt;If it is&amp;nbsp;last 18 months, then same can I get table and column lineage through&amp;nbsp;&lt;SPAN&gt;System table&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;system.access.table_lineage&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;(and related tables)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2026 19:17:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databrick-unity-catalog-rest-api-documentation-link-and-lineage/m-p/150079#M2772</guid>
      <dc:creator>sukhendu2017</dc:creator>
      <dc:date>2026-03-07T19:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Databrick unity catalog REST API documentation link and lineage retention period</title>
      <link>https://community.databricks.com/t5/data-governance/databrick-unity-catalog-rest-api-documentation-link-and-lineage/m-p/150099#M2773</link>
      <description>&lt;P class="p8i6j01 paragraph"&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/218721"&gt;@sukhendu2017&lt;/a&gt;&amp;nbsp;- Thanks for the follow‑up and for sharing the screenshot. This is a great question.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;The key point is that the official retention guarantee is what’s documented, not what an internal/UX control happens to allow:&lt;/P&gt;
&lt;UL class="p8i6j07 p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;The docs for Unity Catalog lineage and system tables describe retention as up to ~1 year. That’s the only behaviour Databricks commits to and supports as a contract.&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;The UI filter (e.g. “Last 18 months” / “All available”) can show more than 12 months in some workspaces/regions if that data happens to exist, but that is not a documented guarantee and can change over time. Think of it as “best‑effort: show whatever data is currently stored”, not “we guarantee 18/24/36 months”.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p8i6j01 paragraph"&gt;So there isn’t really a contradiction:&lt;/P&gt;
&lt;UL class="p8i6j07 p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;Docs = supported retention contract (up to 1 year).&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;UI = whatever lineage is currently available in the backend for your workspace, which may sometimes exceed 12 months but isn’t guaranteed.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p8i6j01 paragraph"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;If older lineage still exists in the backend, the UI may show it under “All available”. But because this is beyond the documented retention window, Databricks can change that behaviour or compact old data without notice. I would not design any governance process that depends on &amp;gt;12 months being present in the UI.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;You can always query whatever lineage data is currently stored in the official system tables:&lt;/P&gt;
&lt;DIV class="l8rrz21 _1ibi0s3dn" data-ui-element="code-block-container"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-sql p8i6j0e hljs language-sql _12n1b832"&gt;&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="hljs-operator"&gt;*&lt;/SPAN&gt;
&lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt; system.access.table_lineage
&lt;SPAN class="hljs-keyword"&gt;WHERE&lt;/SPAN&gt; destination_table_full_name &lt;SPAN class="hljs-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;'&amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;'&lt;/SPAN&gt;
  &lt;SPAN class="hljs-keyword"&gt;AND&lt;/SPAN&gt; event_time &lt;SPAN class="hljs-operator"&gt;&amp;gt;=&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;'&amp;lt;start_timestamp&amp;gt;'&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV class="l8rrz23 _1ibi0s3d6 _1ibi0s332 _1ibi0s3do _1ibi0s3bm _1ibi0s3ce"&gt;
&lt;DIV class="lqznwq0"&gt;&lt;SPAN&gt;However, just like the UI:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;UL class="p8i6j07 p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;System tables are only guaranteed to hold data within the documented retention period (≈1 year).&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;If you currently see 18 months of lineage in the UI, you will typically see the same in &lt;CODE class="p8i6j0f"&gt;system.access.table_lineage&lt;/CODE&gt; today.... but that is not a long‑term guarantee.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p8i6j01 paragraph"&gt;If you must have a reliable 18, 24, or 36‑month lineage history, the recommended pattern is:&lt;/P&gt;
&lt;OL class="p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;Use &lt;CODE class="p8i6j0f"&gt;system.access.table_lineage&lt;/CODE&gt; (and related tables) as the supported source of lineage.&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;Set up a scheduled job to periodically export/append lineage rows into your own long‑term Delta tables or warehouse, so you control retention beyond the built‑in window.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Hope this clarifies your question.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2026 22:09:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/databrick-unity-catalog-rest-api-documentation-link-and-lineage/m-p/150099#M2773</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-03-07T22:09:16Z</dc:date>
    </item>
  </channel>
</rss>

