1

How to run within Databricks notebook - API for checking other running jobs:

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

Thanks

CHEEKATLAPRADEEP
  • 12,191
  • 1
  • 19
  • 42
Joe
  • 11,983
  • 31
  • 109
  • 183

1 Answers1

0

You could use %%sh cell magic and then use the usual curl commands, e.g.:

%%sh
curl -n -X GET https://<databricks-instance>/api/2.0/jobs/list

(You'll need to authenticate first though: The -n flag is for an .netrc file. This question might be useful for that.)

I think this is the only option: Jobs can be managed either through the REST API or through the Databricks GUI. I can't see anything about managing jobs using dbutils, for instance.

dwolfeu
  • 1,103
  • 2
  • 14
  • 21