Trigger a Databricks job run immediately using Jobs API 2.1

domain: docs.databricks.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate by generating a Databricks personal access token or using your configured service principal credentials.
  2. Identify the numeric job ID of the job you want to trigger from the Databricks Jobs UI or via GET /api/2.1/jobs/list.
  3. POST to https://YOUR_WORKSPACE.azuredatabricks.net/api/2.1/jobs/run-now with Content-Type application/json and Authorization: Bearer YOUR_TOKEN.
  4. Set the request body to {"job_id": YOUR_JOB_ID} at minimum; optionally include jar_params, notebook_params, or python_params to override default parameters.
  5. Capture the run_id from the response to track execution status.
  6. Poll GET /api/2.1/jobs/runs/get?run_id=YOUR_RUN_ID until the state.life_cycle_state is TERMINATED, then check state.result_state for SUCCESS or FAILED.

Known gotchas

Related routes

Trigger a Databricks job or notebook via the Jobs API and poll until completion
databricks · 6 steps · unrated
Trigger a Codefresh pipeline run via the Codefresh API
codefresh.io/docs · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans