Skip to contents

Submit a one-time run. This endpoint allows you to submit a workload directly without creating a job. Runs submitted using this endpoint don’t display in the UI. Use the jobs/runs/get API to check the run state after the job is submitted.

Usage

submit_job(
  client,
  access_control_list = NULL,
  email_notifications = NULL,
  git_source = NULL,
  health = NULL,
  idempotency_token = NULL,
  notification_settings = NULL,
  queue = NULL,
  run_name = NULL,
  tasks = NULL,
  timeout_seconds = NULL,
  webhook_notifications = NULL
)

jobsSubmit(
  client,
  access_control_list = NULL,
  email_notifications = NULL,
  git_source = NULL,
  health = NULL,
  idempotency_token = NULL,
  notification_settings = NULL,
  queue = NULL,
  run_name = NULL,
  tasks = NULL,
  timeout_seconds = NULL,
  webhook_notifications = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

access_control_list

List of permissions to set on the job.

email_notifications

An optional set of email addresses notified when the run begins or completes.

git_source

An optional specification for a remote Git repository containing the source code used by tasks.

health

An optional set of health rules that can be defined for this job.

idempotency_token

An optional token that can be used to guarantee the idempotency of job run requests.

notification_settings

Optional notification settings that are used when sending notifications to each of the email_notifications and webhook_notifications for this run.

queue

The queue settings of the one-time run.

run_name

An optional name for the run.

tasks

This field has no description yet.

timeout_seconds

An optional timeout applied to each run of this job.

webhook_notifications

A collection of system notification IDs to notify when the run begins or completes.