# List a Workspace Folder

> List a Workspace Folder activity in the Databricks connector.

## Project compatibility

Windows | Cross-platform

## Overview

| Description | API Method | API Path |
| --- | --- | --- |
| List the notebooks, folders and files under a Databricks workspace path such as /Users/me or /Shared. Use this to discover the notebook_path for Run a Notebook. | GET | `/workspace_list` |

## Input

| Parameter | Description | Data Type |
| --- | --- | --- |
| Databricks Workspace Path \* | Absolute workspace folder path, for example /Users/me or /Shared. | string |

\* Required parameter.

## Output

| Parameter | Description | Data Type |
| --- | --- | --- |
| ID | Unique identifier of the returned record. | string |
| Objects | Workspace entries: [{"path":"/Users/me/nb","object_type":"NOTEBOOK","language":"PYTHON","object_id":123}]. | array |
| Path | Absolute workspace path of the object. | string |
| Object Type | NOTEBOOK, DIRECTORY, LIBRARY, FILE, REPO or DASHBOARD. | string |
| Language | Language of the notebook, for example `PYTHON`, `SCALA`, `SQL` or `R`. Allowed values: `PYTHON`, `SCALA`, `SQL`, `R`. | string |
| Object ID | ID of the workspace object. | integer |

:::note
You might see variations in the output depending on where you run the activity. In API workflows and Maestro Flow, a single response object containing all the fields is returned. In RPA workflows, not all fields are exposed, but you can still retrieve them from the exposed response object.
:::
