cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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

brickster_2018
Databricks Employee
Databricks Employee

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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group