This article explains how to get workspace, cluster, notebook, and job identifiers and URLs in Databricks.
An instance name is assigned to each Databricks deployment. To segregate the workload and grant access to relevant users only, usually Databricks customers create separate instances for development, staging, and production. The instance name is the first part of the URL when you log into your Databricks deployment.
If you log into
https://cust-success.cloud.databricks.com/, the instance name is
A Databricks workspace is where the Databricks platform runs and where you can create Spark clusters and schedule workloads. Some types of workspaces have a unique workspace ID. If there is
o= in the deployment URL, for example,
https://<databricks-instance>/?o=6280049833385130, the random number after
o= is the Databricks workspace ID. Here the workspace ID is
6280049833385130. If there is no
o= in the deployment URL, the workspace ID is
A Databricks cluster provides a unified platform for various use cases such as running production ETL pipelines, streaming analytics, ad-hoc analytics, and machine learning. Each cluster has a unique ID called the cluster ID. This applies to both all-purpose and job clusters. To get the details of a cluster using the REST API, the cluster ID is essential.
To get the cluster ID, click the Clusters tab in sidebar and then select a cluster name. The cluster ID is the number after the
/clusters/ component in the URL of this page
In the following screenshot, the cluster ID is
A notebook is a web-based interface to a document that contains runnable code, visualizations, and narrative text. Notebooks are one interface for interacting with Databricks. Each notebook has a unique ID. The notebook URL has the notebook ID, hence the notebook URL is unique to a notebook. It can be shared with anyone on Databricks platform with permission to view and edit the notebook. In addition, each notebook command (cell) has a different URL.
To get to a notebook URL, open a notebook.
In the following notebook, the notebook URL is
https://cust-success.cloud.databricks.com/#notebook/333096, the notebook ID is
333096, and the command (cell) URL is
A job is a way of running a notebook or JAR either immediately or on a scheduled basis.
To get to a job URL, click the Jobs tab in sidebar and click a job name. This job URL is critical piece of information needed to troubleshoot job runs that have failed and investigate the root cause.
In the following screenshot, the job URL is
https://cust-success.cloud.databricks.com/#job/25612 and the job ID is