Forum Discussion
halcyon57a
11 months agoNew Member
Extract API info from Notebooks
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 N...
- 11 months ago
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.
tayloramy
11 months agoSuper User
halcyon57a can you post the snippet of your code that is not working as expected?