{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fast ACCOUNT_COSTS Databricks Jobs API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Databricks Jobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get filter options for jobs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/filters",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "prefix",
                "value": "",
                "type": "query",
                "description": "Search prefix for name filters"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Workspace ID to filter by"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get distinct filter values for job filtering."
        },
        {
          "info": {
            "name": "Get paginated distinct job names for filtering",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/filters/job_names",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "prefix",
                "value": "",
                "type": "query",
                "description": "Search substring for job names (case-insensitive)"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Workspace ID to filter by"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Items per page"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a paginated list of distinct job names for the job-name filter dropdown."
        },
        {
          "info": {
            "name": "Get paginated distinct job workspaces for filtering",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/filters/workspaces",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "prefix",
                "value": "",
                "type": "query",
                "description": "Search substring for workspace names (case-insensitive)"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Workspace ID to filter by"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Items per page"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a paginated list of distinct job workspaces for the workspace filter dropdown."
        },
        {
          "info": {
            "name": "Get paginated distinct job creators for filtering",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/filters/creators",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "prefix",
                "value": "",
                "type": "query",
                "description": "Search substring against creator id or display name (case-insensitive)"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Workspace ID to filter by"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Items per page"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a paginated list of distinct job creators with display names."
        },
        {
          "info": {
            "name": "Get all Databricks jobs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Filter by workspace ID"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date for run statistics"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date for run statistics"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Items per page"
              },
              {
                "name": "sortAttribute",
                "value": "",
                "type": "query",
                "description": "Sort column name. Valid columns: job_name, workspace_name, total_runs, successful_runs, failed_runs, success_rate, avg_duration_seconds, last_run_time, total_dbus, total_cost, annualized_total_cost, auto_tune_savings."
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "Sort direction: 'asc' or 'desc'"
              },
              {
                "name": "job_names",
                "value": "",
                "type": "query",
                "description": "Filter by job names"
              },
              {
                "name": "creators",
                "value": "",
                "type": "query",
                "description": "Filter by creator user names"
              },
              {
                "name": "workspaces",
                "value": "",
                "type": "query",
                "description": "Filter by workspace display names"
              },
              {
                "name": "auto_tune_enabled",
                "value": "",
                "type": "query",
                "description": "Filter by Auto Tune state: true for On, false for Off"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get list of all jobs with run statistics."
        },
        {
          "info": {
            "name": "Get aggregate cost summary for the Jobs list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/summary",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date for the cost window"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date for the cost window"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Filter by workspace ID"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Aggregate cost summary feeding the Jobs page hero cards.\n\nReturns Total Cost, Total DBU Cost (equal to Total Cost — DBU is the\nonly cost component), Total Cloud Cost (``null`` — infrastructure cost\nis not ingested), and Total Realized Savings (summed from the\n``dbx_jobs_cost_savings`` cost mart)."
        },
        {
          "info": {
            "name": "Get jobs with high failure rates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/failing",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "min_failure_rate",
                "value": "",
                "type": "query",
                "description": "Minimum failure rate percentage"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date for statistics"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date for statistics"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Filter by workspace ID"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get jobs with high failure rates."
        },
        {
          "info": {
            "name": "Get recent job failures",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/recent-failures",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "hours",
                "value": "",
                "type": "query",
                "description": "Hours to look back (1-720)."
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Filter by workspace ID"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get recent job failures."
        },
        {
          "info": {
            "name": "Get job run trends",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/trends",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date"
              },
              {
                "name": "granularity",
                "value": "",
                "type": "query",
                "description": "Time granularity: 'day', 'week', or 'month'"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Filter by workspace ID"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get job run trends over time."
        },
        {
          "info": {
            "name": "Get job cost trends by job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/trends/cost",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date"
              },
              {
                "name": "granularity",
                "value": "",
                "type": "query",
                "description": "Time granularity: 'day', 'week', or 'month'"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Filter by workspace ID"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get job cost trends over time broken down by job.\n\nReturns every job with billing activity; top-N selection and the\n\"Others\" bucket are applied client-side."
        },
        {
          "info": {
            "name": "Get job details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get detailed information for a specific job."
        },
        {
          "info": {
            "name": "Get job runs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/runs",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date"
              },
              {
                "name": "result_state",
                "value": "",
                "type": "query",
                "description": "Filter by result state. Repeat the query param to pass multiple values (e.g. ?result_state=FAILED&result_state=TIMED_OUT). Valid values: SUCCEEDED, FAILED, SKIPPED, CANCELLED, TIMED_OUT, ERROR, BLOCKED."
              },
              {
                "name": "run_ids",
                "value": "",
                "type": "query",
                "description": "Filter by specific run IDs"
              },
              {
                "name": "trigger_types",
                "value": "",
                "type": "query",
                "description": "Filter by trigger types"
              },
              {
                "name": "sortAttribute",
                "value": "",
                "type": "query",
                "description": "Sort column name. Valid columns: run_id, start_time, duration_seconds, trigger_type, result_state, cost_cents."
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "Sort direction: 'asc' or 'desc'"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Items per page"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get runs for a specific job."
        },
        {
          "info": {
            "name": "Get job run statistics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/stats",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get run statistics for a specific job."
        },
        {
          "info": {
            "name": "Get job run trends over time",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/trends",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date"
              },
              {
                "name": "granularity",
                "value": "",
                "type": "query",
                "description": "Time granularity: 'day', 'week', or 'month'"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get run trends over time for a specific job."
        },
        {
          "info": {
            "name": "Get per-day auto-tune savings (realized + potential) for a job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/auto-tune/savings-trends",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "query",
                "description": "Databricks instance id"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date"
              },
              {
                "name": "granularity",
                "value": "",
                "type": "query",
                "description": "Time granularity: 'day', 'week', or 'month'"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get realized and potential auto-tune savings per day for a job,\neach split into DBU and infra components and scoped to the run window."
        },
        {
          "info": {
            "name": "Get the job-level task summary (one row per task on the DAG)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/task-runs",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date"
              },
              {
                "name": "sortAttribute",
                "value": "",
                "type": "query",
                "description": "Column name to sort by. Valid columns: task_key, result_state, start_time, total_duration_seconds, cost_cents."
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "Sort direction: 'asc' or 'desc' (defaults to 'desc')."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Items per page"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Job-level task list: one aggregated row per task on the job's DAG."
        },
        {
          "info": {
            "name": "Get run/task-scoped task runs (requires run_id or task_key)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/task-runs/detail",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date"
              },
              {
                "name": "run_id",
                "value": "",
                "type": "query",
                "description": "Filter by specific run ID"
              },
              {
                "name": "task_key",
                "value": "",
                "type": "query",
                "description": "Filter by specific task key"
              },
              {
                "name": "sortAttribute",
                "value": "",
                "type": "query",
                "description": "Column name to sort by. Valid columns: task_key, result_state, start_time, total_duration_seconds, cost_cents."
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "Sort direction: 'asc' or 'desc' (defaults to 'desc')."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Items per page"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Run/task-scoped task runs: one row per ``(task_key, job_run_id)``.\n\nRequires ``run_id`` (the tasks of a specific run) or ``task_key`` (one\ntask's runs over time)."
        },
        {
          "info": {
            "name": "Get chart-ready time series of runs for a single task",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/tasks/:task_key/runs-graph",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "task_key",
                "value": "",
                "type": "path"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date (inclusive)"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date (inclusive)"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Return one chart point per run of ``task_key`` on this job.\n\nShape mirrors ``/query/v2/snowflake_jobs/runs_graph/{workflow_id}``\nso the FE chart component is reusable: ``query_cost`` is USD and\n``execution_time`` is milliseconds. Annotations are intentionally\nomitted for the Databricks chart."
        },
        {
          "info": {
            "name": "Get aggregate run stats for a single task in a date window",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/tasks/:task_key/stats",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "task_key",
                "value": "",
                "type": "path"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date (inclusive)"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date (inclusive)"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Return total/succeeded/failed run counts and mean duration for\n``task_key`` on this job. Counts ignore pagination."
        },
        {
          "info": {
            "name": "Get the Databricks Spark UI URL for a job run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/runs/:run_id/spark-ui",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "task_run_id",
                "value": "",
                "type": "query",
                "description": "When set, return the Spark UI for this specific task run (matched against tasks[*].run_id in the Databricks runs/get response). Use the top-level run's driver UI when omitted."
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Workspace ID — required for multi-workspace tenants to route credential lookup to the correct workspace."
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Build the deep link to the Databricks Spark UI for a job run.\n\nThin pass-through to ``DatabricksJobService.resolve_spark_ui``; that\nmethod does the lookup → cred-resolve → runs/get → URL-compose flow\nand maps the expected failure modes to ``state`` values on the\nalways-200 response."
        },
        {
          "info": {
            "name": "Get the static task list for a Databricks job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/tasks-inventory",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "query",
                "description": "Databricks instance id"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Return every task defined on the job's workflow DAG (regardless\nof whether the task has been run or has an Auto Tune\nrecommendation). Sourced from ``dbx_job_tasks_inventory``.\n\nThe Auto Tune drawer DAG and the overview \"Tasks\" tile use this as\nthe authoritative task list so they don't depend on the recs feed\nor task-runs windowing for the denominator."
        },
        {
          "info": {
            "name": "Get Spark analysis for job's latest run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/spark-analysis",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "run_id",
                "value": "",
                "type": "query",
                "description": "Specific run ID (defaults to latest)"
              },
              {
                "name": "task_key",
                "value": "",
                "type": "query",
                "description": "Task key to scope cost to a specific task"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Spark-level analysis for a job's latest successful/failed run."
        },
        {
          "info": {
            "name": "Get paginated stage metrics for a job's Spark run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/spark-analysis/stage-metrics",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "run_id",
                "value": "",
                "type": "query",
                "description": "Specific run ID (defaults to latest)"
              },
              {
                "name": "sortAttribute",
                "value": "",
                "type": "query",
                "description": "Column name to sort by. Valid columns: stage_id, task_count, total_run_ms, max_run_ms, avg_run_ms, min_run_ms, median_run_ms, q1_run_ms, q3_run_ms, stddev_run_ms, total_gc_ms, total_mem_spill, total_disk_spill, total_shuffle_read, total_shuffle_write, skew."
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "Sort direction: 'asc' or 'desc' (defaults to 'desc')."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Items per page"
              },
              {
                "name": "stage_ids",
                "value": "",
                "type": "query",
                "description": "Comma-separated stage IDs to filter by (e.g., '0,1,2')"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get paginated stage-level task metrics with server-side sorting."
        },
        {
          "info": {
            "name": "Get paginated individual Spark tasks for a job's Spark run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/spark-analysis/tasks",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "run_id",
                "value": "",
                "type": "query",
                "description": "Specific run ID (defaults to latest)"
              },
              {
                "name": "sortAttribute",
                "value": "",
                "type": "query",
                "description": "Column name to sort by. Valid columns: task_id, stage_id, executor_run_time, duration_ms, jvm_gc_time, memory_bytes_spilled, disk_bytes_spilled, shuffle_read_bytes, shuffle_write_bytes."
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "Sort direction: 'asc' or 'desc' (defaults to 'desc')."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Items per page"
              },
              {
                "name": "stage_ids",
                "value": "",
                "type": "query",
                "description": "Comma-separated stage IDs to filter by (e.g., '0,1,2')"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get paginated individual Spark tasks with server-side sorting."
        },
        {
          "info": {
            "name": "Get optimization opportunities for a job's Spark run with code linkage",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/spark-analysis/opportunities",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "cluster_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get optimization opportunities for a Spark job with linked source code."
        },
        {
          "info": {
            "name": "Get Databricks auto right-sizing recommendations for a job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/auto-recommendations",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "query",
                "description": "Tenant instance ID (workspace) to scope the lookup"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "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."
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start of the window the savings figures are summed over. Matches the shape of /auto-tune/savings-trends so the FE's date-range picker can drive both the chart and this drawer consistently. Defaults to 30 days before end_date when omitted."
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End of the savings window (inclusive). Defaults to today (UTC) when omitted."
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Return rows from `dbx_auto_recommendation` scoped to this job.\n\nEach row carries ``auto_tune_mode`` projected via LEFT JOIN on\n``databricks_auto_tune_configuration`` (PRD §6 Option A — single\nsource of truth for the toggle position) plus a server-computed\n``monthly_savings_usd``.\n\nEach item also carries ``depends_on`` (upstream task DAG edges from\n``dbx_job_tasks_inventory.depends_on_keys``) and\n``latest_action_event_type`` (most recent audit event_type per\ntask_key — drives the FE status pill)."
        },
        {
          "info": {
            "name": "Toggle auto-tune on/off for a job's recommendation",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/auto-tune/toggle",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "query",
                "description": "Tenant instance ID (workspace) the job runs in"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "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."
              },
              {
                "name": "task_key",
                "value": "",
                "type": "query",
                "description": "Task key when toggling a per-task recommendation. Empty string for job-level recommendations (default)."
              },
              {
                "name": "force",
                "value": "",
                "type": "query",
                "description": "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."
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Enable or disable auto-tune for a recommendation.\n\nThree flows behind one endpoint (v2.5 §15):\n\n1. **Enable** — write APPLY_REQUESTED + flip config to enabled.\n   Worker picks up async and calls Databricks.\n2. **Disable when never applied** — fast-path. Write APPLY_REQUESTED\n   (mode=disable) + flip the per-role cfg rows to disabled. No\n   Databricks call needed.\n3. **Disable when previously APPLIED** — sync rollback.\n   BE preflight → optionally cancel active runs (with ``force=true``)\n   → POS"
        },
        {
          "info": {
            "name": "Page-level Auto Tune status for a job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/auto-tune/status",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "query",
                "description": "Tenant instance ID (workspace) the job runs in"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "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."
              },
              {
                "name": "navigationSource",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Read-only status endpoint consumed by the Auto Tune tab on mount.\n\nAggregates ``auto_tune_mode`` across every (entity_id, task_key) row\nfor this job: master is \"enabled\" if ANY task is enabled. Surfaces a\njob-level preflight result so the FE can disable the master Switch\nwhen the SP can't act on the workspace, with the exact actionable\nmessage we'd show on a real toggle attempt. Also returns\n``recommendation_count`` so the FE can gate the Auto Tune tab.\nSavings figures are not computed here — th"
        },
        {
          "info": {
            "name": "Paginated Auto Tune audit history for a job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/databricks/jobs/:job_id/auto-tune/history",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "query",
                "description": "Tenant instance ID (workspace) the job runs in"
              },
              {
                "name": "event_types",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of event_type values to include (APPLY_REQUESTED, APPLIED, FAILED). Empty/omitted = all."
              },
              {
                "name": "period",
                "value": "",
                "type": "query",
                "description": "Look-back window in days. Excludes audit rows whose ``change_timestamp`` is older than now - period days."
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "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."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Items per page"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Read-only audit history for the Auto Tune tab.\n\nReturns the most-recent events first. Each row carries\n``event_message`` composed server-side from event_type + mode + actor\n+ payload via ``DBX_AUTO_TUNE_EVENT_UI_MAPPING`` so the FE renders\none string verbatim.\n\nUser resolution is manual (PR #5070 hasn't merged): we batch-load\n``altimate_users`` rows for the non-null ``changed_by`` ids on the\npage and attach ``changed_by_name`` before serialization."
        }
      ]
    }
  ],
  "bundled": true
}