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.
- Download the OpenAPI specification
- View in Redocly: this link immediately opens the OpenAPI specification as a structured API reference for easy viewing.
- View in Postman: Postman is an app that you must download to your computer. Once you do, you can import the OpenAPI spec as a file or URL.
- View in Swagger Editor: In the online Swagger Editor, go to the File menu and click Import file to import and view the downloaded OpenAPI specification.
Important
To access Databricks REST APIs, you must authenticate.
Feedback
Submit and view feedback for