cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

How to List of Notebooks in a Workspace - Databricks?

User16790091296
Contributor II

I want to list down the Notebooks in a folder in Databricks. I tried to use the utilities like , dbutils.fs.ls("/path") - > It shows the path of the storage folder.

I also tried to check dbutil.notebook.help() - nothing useful.

Lets say, there is a folder -XXYY. This folder contains multiple Notebooks. I just want the list of the Notebooks in that folder. Is their any command available. Any suggestion.

1 REPLY 1

User16869510359
Esteemed Contributor

Notebooks are not stored in DBFS. They cannot be directly listed from the file system.

You should use the Databricks REST API to list and get the details

https://docs.databricks.com/dev-tools/api/latest/workspace.html#list

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.