> The master branch is for version 2. Version 1.1 (stable) is in the [releases/1.1](https://github.com/Azure/azure-databricks-client/tree/releases/1.1) branch.
- To generate a PAT, follow the steps listed in [this document](https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth#--azure-databricks-personal-access-token-authentication).
- To generate a AAD token, follow the steps listed in [this document](https://learn.microsoft.com/en-us/azure/databricks/dev-tools/service-prin-aad-token).
| [Clusters](https://docs.databricks.com/api/azure/workspace/clusters) | 2.0 | The Clusters API allows you to create, start, edit, list, terminate, and delete clusters. |
| [Jobs](https://docs.databricks.com/api/azure/workspace/jobs) | 2.1 | The Jobs API allows you to programmatically manage Azure Databricks jobs. |
| [Dbfs](https://docs.databricks.com/api/azure/workspace/dbfs) | 2.0 | The DBFS API is a Databricks API that makes it simple to interact with various data sources without having to include your credentials every time you read a file. |
| [Secrets](https://docs.databricks.com/api/azure/workspace/secrets) | 2.0 | The Secrets API allows you to manage secrets, secret scopes, and access permissions. |
| [Groups](https://docs.databricks.com/api/azure/workspace/groups) | 2.0 | The Groups API allows you to manage groups of users. |
| [Libraries](https://docs.databricks.com/api/azure/workspace/libraries) | 2.0 | The Libraries API allows you to install and uninstall libraries and get the status of libraries on a cluster. |
| [Token](https://docs.databricks.com/api/azure/workspace/tokens) | 2.0 | The Token API allows you to create, list, and revoke tokens that can be used to authenticate and access Azure Databricks REST APIs. |
| [Workspace](https://docs.databricks.com/api/azure/workspace/workspace) | 2.0 | The Workspace API allows you to list, import, export, and delete notebooks and folders. |
| [InstancePool](https://docs.databricks.com/api/azure/workspace/instancepools) | 2.0 | The Instance Pools API allows you to create, edit, delete and list instance pools. |
| [Permissions](https://docs.databricks.com/api/azure/workspace/permissions) | 2.0 | The Permissions API lets you manage permissions for Token, Cluster, Pool, Job, Delta Live Tables pipeline, Notebook, Directory, MLflow experiment, MLflow registered model, SQL warehouse, Repo and Cluster Policies. |
| [Cluster Policies](https://docs.databricks.com/api/azure/workspace/clusterpolicies) | 2.0 | The Cluster Policies API allows you to create, list, and edit cluster policies. |
| [Global Init Scripts](https://docs.databricks.com/api/azure/workspace/globalinitscripts) | 2.0 | The Global Init Scripts API lets Azure Databricks administrators add global cluster initialization scripts in a secure and controlled manner. |
| [SQL Warehouses](https://docs.databricks.com/api/azure/workspace/warehouses) | 2.0 | The SQL Warehouses API allows you to manage compute resources that lets you run SQL commands on data objects within Databricks SQL. |
| [Repos](https://docs.databricks.com/api/azure/workspace/repos) | 2.0 | The Repos API allows users to manage their git repos. Users can use the API to access all repos that they have manage permissions on. |
| [Pipelines (Delta Live Tables)](https://docs.databricks.com/api/azure/workspace/pipelines) | 2.0 | The Delta Live Tables API allows you to create, edit, delete, start, and view details about pipelines. |
In the following examples, the `baseUrl` variable should be set to the workspace base URL, which looks like `https://adb-<workspace-id>.<random-number>.azuredatabricks.net`, and `token` variable should be set to your Databricks personal access token.
The `clusters/create`, `jobs/run-now` and `jobs/runs/submit` APIs support idempotency token. It is optional token to guarantee the idempotency of requests. If a resource (a cluster or a run) with the provided token already exists, the request does not create a new resource but returns the ID of the existing resource instead.
If you specify the idempotency token, upon failure you can retry until the request succeeds. Databricks guarantees that exactly one resource is launched with that idempotency token.
The following code illustrates how to use [Polly](https://github.com/App-vNext/Polly) to retry the request with `idempotency_token` if the request fails.
- The Jobs API was redesigned to align with the version 2.1 of the REST API.
- In the previous version, the Jobs API only supports single task per job. The new Jobs API supports multiple tasks per job, where the tasks are represented as a DAG.
- The new version supports two more types of task: Python Wheel task and Delta Live Tables pipeline task.