v5
latestOpenAPI 3.1.02026-08-081,0211,3082.1 MBToggle auto-tune on/off for a job's recommendation
Enable or disable auto-tune for a recommendation.
Three flows behind one endpoint (v2.5 §15):
- Enable — write APPLY_REQUESTED + flip config to enabled. Worker picks up async and calls Databricks.
- Disable when never applied — fast-path. Write APPLY_REQUESTED (mode=disable) + flip the per-role cfg rows to disabled. No Databricks call needed.
- Disable when previously APPLIED — sync rollback. BE preflight → optionally cancel active runs (with force=true) → POST /api/2.2/jobs/update with attributes.from of the most recent APPLIED → write APPLIED audit row + update config in one Postgres tx. On Databricks failure: NO audit row, surface error.
Path parameters
Query parameters
Tenant instance ID (workspace) the job runs in
Tenant instance ID (workspace) the job runs in
Optional Databricks workspace_id to scope queries to a specific workspace within the tenant's Databricks account. Defends against cross-workspace job_id collisions. When None, falls back to (instance_id, entity_id) lookup.
Optional Databricks workspace_id to scope queries to a specific workspace within the tenant's Databricks account. Defends against cross-workspace job_id collisions. When None, falls back to (instance_id, entity_id) lookup.
Task key when toggling a per-task recommendation. Empty string for job-level recommendations (default).
Task key when toggling a per-task recommendation. Empty string for job-level recommendations (default).
Only meaningful for sync rollback (disable on an applied rec). When the job has active runs, force=true cancels them before reverting the cluster config. Defaults to false; the BE returns rollback.needs_confirmation=true and the FE shows an interstitial.
Only meaningful for sync rollback (disable on an applied rec). When the job has active runs, force=true cancels them before reverting the cluster config. Defaults to false; the BE returns rollback.needs_confirmation=true and the FE shows an interstitial.
Headers
Request body
Response
Successful Response