Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi I am using the Fabric API to trawl through all workspaces on a tenant, identifying Python notebooks and trying to read these to see if they access an API. If one exists, then list it out. The Notebook I am running lists the workspaces correctly, correctly identifies whether the Notebook exists and tries to extract the API data - but it doesn't. It just returns blanks. Any one ever done this ? Any thoughts?
Hi @halcyon57a ,
When you have a moment, please let us know if everything is okay on your end or if you need any further assistance.
Thank you.
Hi @halcyon57a ,
Can you let us know whether your issue has been resolved or if you're still having trouble? Your feedback is important and could assist others with similar concerns.
Thank You.
Hi @halcyon57a ,
May I know if the issue has been resolved, or are you still facing any challenges? Please let us know if you need any additional details or assistance.
Thanks.
What Might Be Going Wrong
Here are some common culprits:
🛠️ Suggested Approach
Here’s a more robust strategy:
import requests requests.get("https://api.example.com")
If you'd like, I can help you write a Python script that scans notebook code for API calls once you have the content. Or we can explore whether using Git integration or exporting notebooks to a readable format might help. Let me know how deep you want to go.
Here’s a more robust strategy:
import requests
requests.get("https://api.example.com")
import requests requests.get("https://api.example.com")
Hi @halcyon57a ,
Thank you for your post in the Fabric community, and In addition to @tayloramy earlier response. Fabric’s public API does allow you to retrieve complete notebook definitions, including all code cells. If you’re only getting metadata, that could be why the results appear blank you need to use the correct endpoint for full content.
You can refer to the official documentation: Manage and execute Fabric notebooks with public APIs - Microsoft Fabric | Microsoft Learn
This guide explains how to list notebooks, access their full content, and handle formats such as .ipynb, .py, and .sql. For .ipynb notebooks.
Regards,
Yugandhar.
@halcyon57a can you post the snippet of your code that is not working as expected?