How to List of Notebooks in a Workspace - Databricks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2021 08:18 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2021 04:51 PM
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

