cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Create Jobs and Pipelines in Workflows using API

Deepak_Goldwyn
New Contributor III

I am trying to create Databricks Jobs and Delta live table(DLT) pipelines by using Databricks API.

I would like to have the JSON code of Jobs and DLT in the repository(to configure the code as per environment) and execute the Databricks API by passing this JSON code in the Release/CD pipeline (Azure Devops).

I know this could be achieved with Powershell script in the Release/CD pipeline by authenticating the API call.

However, is there any other straight forward way to do this?

1 ACCEPTED SOLUTION

Accepted Solutions

Prabakar
Databricks Employee
Databricks Employee

hi @Deepak Goldwyn Livingstonโ€‹ have you checked the Jobs API document?

https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate

View solution in original post

4 REPLIES 4

Prabakar
Databricks Employee
Databricks Employee

hi @Deepak Goldwyn Livingstonโ€‹ have you checked the Jobs API document?

https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate

Vivian_Wilfred
Databricks Employee
Databricks Employee

Hi @Deepak Goldwyn Livingstonโ€‹ , You can find the JSON of an existing job from the jobs UI itself. Click on the Job and click on the three dots next to "Run Now".

imageFor the JSON skeleton, please check the Jobs API document:

https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate

Let me know if this helps.

jose_gonzalez
Databricks Employee
Databricks Employee

Hi @Deepak Goldwyn Livingstonโ€‹,

Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.

Deepak_Goldwyn
New Contributor III

Hi Jose,

Yes it answered my question. I am indeed using JSON file to create Jobs and pipelines

Thanks.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group