Global Init Scripts API 2.0

Configure a cluster-scoped init script using the DBFS REST API are shell scripts that run during startup on each cluster node of every cluster in the workspace, before the Apache Spark driver or worker JVM starts. They can help you to enforce consistent cluster configurations across your workspace. Use them carefully because they can cause unanticipated impacts, like library conflicts.

The Global Init Scripts API lets Azure Databricks administrators add global cluster initialization scripts in a secure and controlled manner. To learn how to add them using the UI, see Configure a cluster-scoped init script using the DBFS REST API.

The Global Init Scripts API is provided as an OpenAPI 3.0 specification that you can download and view as a structured API reference in your favorite OpenAPI editor.

Important

To access Databricks REST APIs, you must authenticate.