<?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 Which of my Lakeflow pipelines are using the same gateway? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/which-of-my-lakeflow-pipelines-are-using-the-same-gateway/m-p/148522#M52906</link>
    <description>&lt;P&gt;Does anyone know of a way to see what Lakeflow pipelines are using the same gateway? We have a gateway connected to a SQL Server that serves multiple individual pipelines but I cannot find a way to see what those are. I've tried system tables. Any insight would be appreciated.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Feb 2026 14:28:19 GMT</pubDate>
    <dc:creator>pdiamond</dc:creator>
    <dc:date>2026-02-16T14:28:19Z</dc:date>
    <item>
      <title>Which of my Lakeflow pipelines are using the same gateway?</title>
      <link>https://community.databricks.com/t5/data-engineering/which-of-my-lakeflow-pipelines-are-using-the-same-gateway/m-p/148522#M52906</link>
      <description>&lt;P&gt;Does anyone know of a way to see what Lakeflow pipelines are using the same gateway? We have a gateway connected to a SQL Server that serves multiple individual pipelines but I cannot find a way to see what those are. I've tried system tables. Any insight would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 14:28:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/which-of-my-lakeflow-pipelines-are-using-the-same-gateway/m-p/148522#M52906</guid>
      <dc:creator>pdiamond</dc:creator>
      <dc:date>2026-02-16T14:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Which of my Lakeflow pipelines are using the same gateway?</title>
      <link>https://community.databricks.com/t5/data-engineering/which-of-my-lakeflow-pipelines-are-using-the-same-gateway/m-p/148533#M52911</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/132493"&gt;@pdiamond&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can use REST API or databricks cli (which under the hood make REST API calls for you anyway).&lt;/P&gt;&lt;P&gt;Here's an endpoint you're looking for:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/workspace/pipelines/get" target="_blank"&gt;Get a pipeline | Pipelines API | REST API reference | Databricks on AWS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then in payload look for spec object:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1771260734067.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/24088iD04F116FC6CD3474/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1771260734067.png" alt="szymon_dybczak_0-1771260734067.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Inside that object you should find another called &lt;STRONG&gt;ingestion_definiton&amp;nbsp;&lt;/STRONG&gt;which contains attribute &lt;STRONG&gt;ingestion_gateway_id:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_1-1771260834747.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/24089i3B42F034C8D688DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_1-1771260834747.png" alt="szymon_dybczak_1-1771260834747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 16:54:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/which-of-my-lakeflow-pipelines-are-using-the-same-gateway/m-p/148533#M52911</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2026-02-16T16:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Which of my Lakeflow pipelines are using the same gateway?</title>
      <link>https://community.databricks.com/t5/data-engineering/which-of-my-lakeflow-pipelines-are-using-the-same-gateway/m-p/148540#M52915</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;- this worked perfectly. This is what I ended up throwing together to see what I was looking for:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from databricks.sdk import WorkspaceClient

url = f"{DATABRICKS_HOST}/api/2.0/pipelines"
headers = wc.config.authenticate()

wc = WorkspaceClient()
DATABRICKS_HOST = wc.config.host

import requests
response = requests.get(url, headers=headers)
payload = response.json()
pipeline_ids = [item.get("pipeline_id") for item in payload.get("statuses", []) if "pipeline_id" in item]

pipeline_payloads = []
for pid in pipeline_ids:
    detail_url = f"{DATABRICKS_HOST}/api/2.0/pipelines/{pid}"
    detail_response = requests.get(detail_url, headers=headers)
    detail_payload = detail_response.json()
    pipeline_payloads.append(detail_payload)

from pyspark.sql import Row

rows = [
    Row(
        pipeline_id=payload.get("pipeline_id"),
        name=payload.get("spec", {}).get("name"),
        ingestion_gateway_id=payload.get("spec", {}).get("ingestion_definition", {}).get("ingestion_gateway_id")
    )
    for payload in pipeline_payloads
]

df_pipelines = spark.createDataFrame(rows)
display(df_pipelines)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 17:48:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/which-of-my-lakeflow-pipelines-are-using-the-same-gateway/m-p/148540#M52915</guid>
      <dc:creator>pdiamond</dc:creator>
      <dc:date>2026-02-16T17:48:46Z</dc:date>
    </item>
  </channel>
</rss>

