Databricks icon

Databricks

Interact with Databricks API

Clusters → Create Cluster

AI-generated

Summary

Create a new Databricks compute cluster using a full cluster configuration provided as JSON.

Inputs

  • Cluster Configuration (required) — Provide the complete cluster configuration as JSON, typically including settings like cluster_name, spark_version, node_type_id, and num_workers. Refer to the Databricks API documentation for all available fields.

Output shape

a single JSON object containing the response from the Databricks API for the created cluster, including the cluster ID and related metadata.

The cluster configuration must be valid JSON; string inputs are parsed internally. The response corresponds directly to the Databricks API create cluster endpoint response format.

Examples

Example 1: Create a cluster named 'my-cluster' with Spark version 13.3.x-scala2.12, node type Standard_DS3_v2, and one worker node.

Set the Cluster Configuration JSON input with appropriate cluster parameters as per the provided example in the input default.

Links

Discussion