Create Pipeline
POST
/api/v1/pipelines/
const url = 'https://example.com/api/v1/pipelines/';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"id":"example","name":"example","storage":"example","configuration":{"additionalProperty":"example"},"clusters":[{"label":"example","node_type_id":"example","driver_node_type_id":"example","num_workers":1,"autoscale":{"additionalProperty":1},"custom_tags":{"additionalProperty":"example"},"spark_conf":{"additionalProperty":"example"},"spark_env_vars":{"additionalProperty":"example"},"enable_local_disk_encryption":true,"instance_pool_id":"example"}],"libraries":[{"notebook":{"additionalProperty":"example"},"file":{"additionalProperty":"example"},"jar":"example","maven":{"additionalProperty":"example"},"pypi":{"additionalProperty":"example"},"whl":"example"}],"target":"example","schema":"example","continuous":true,"development":false,"photon":false,"channel":"CURRENT","edition":"ADVANCED","catalog":"example","notifications":[{}],"serverless":true,"root_path":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/pipelines/ \ --header 'Content-Type: application/json' \ --data '{ "id": "example", "name": "example", "storage": "example", "configuration": { "additionalProperty": "example" }, "clusters": [ { "label": "example", "node_type_id": "example", "driver_node_type_id": "example", "num_workers": 1, "autoscale": { "additionalProperty": 1 }, "custom_tags": { "additionalProperty": "example" }, "spark_conf": { "additionalProperty": "example" }, "spark_env_vars": { "additionalProperty": "example" }, "enable_local_disk_encryption": true, "instance_pool_id": "example" } ], "libraries": [ { "notebook": { "additionalProperty": "example" }, "file": { "additionalProperty": "example" }, "jar": "example", "maven": { "additionalProperty": "example" }, "pypi": { "additionalProperty": "example" }, "whl": "example" } ], "target": "example", "schema": "example", "continuous": true, "development": false, "photon": false, "channel": "CURRENT", "edition": "ADVANCED", "catalog": "example", "notifications": [ {} ], "serverless": true, "root_path": "example" }'Create a new pipeline with namespaced Nexa tags (prevents config collision).
Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
PipelineSpec
DLT Pipeline specification.
object
name
required
Name
Pipeline name
string
clusters
Any of:
Array<object>
PipelineClusterDLT Pipeline cluster configuration.
All fields are optional to allow flexible cluster configuration. Databricks will use defaults for unspecified values.
object
null
libraries
required
Libraries
Pipeline libraries
Array<object>
PipelineLibraryDLT Pipeline library configuration.
All fields are optional as only one library type should be specified per entry.
object
notifications
Any of:
Array<object>
object
key
additional properties
any
null
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
PipelineResponse
Response model for a single pipeline - aligned with Databricks API.
object
pipeline_id
required
Pipeline Id
Unique identifier for the pipeline
string
name
required
Name
Name of the pipeline
string
nexa_managed
Nexa Managed
boolean
health
Any of:
PipelineHealthItem
Lightweight health info for list responses.
object
status
Status
string
last_update_time
Any of:
Last Update Time
null
last_success_time
Any of:
Last Success Time
null
last_failure_time
Any of:
Last Failure Time
null
consecutive_failures
Consecutive Failures
integer
is_stale
Is Stale
boolean
null
latest_updates
Any of:
Array<object>
object
key
additional properties
any
null
key
additional properties
any
Example
{ "nexa_managed": false, "health": { "status": "UNKNOWN", "consecutive_failures": 0, "is_stale": false }}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}