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:ย 

Get user who ran a job

646901
New Contributor II

From the databricks API/ CLI is it possible to get the user who triggered a job run programatically?

The information can be found in the job "event log" and can be queried in the "audit log" but neither of these seem to have a API option. Is there a way from the API to get the person who triggered a job run?

2 REPLIES 2

Alberto_Umana
Databricks Employee
Databricks Employee

Hello @646901,

You can use the below REST API: 

/api/2.1/jobs/runs/get

https://docs.databricks.com/api/azure/workspace/jobs/getrun

Stefan-Koch
Contributor II

with the databricks cli you can get all infos about a job run with this command:

databricks jobs get-run <run-id>

 replace <run-id> with your actual run-id

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