Databricks · Schema

RunTask

Artificial IntelligenceAnalyticsApache SparkBig DataCleanroomsCloud ComputingDataData AnalyticsData EngineeringData GovernanceDelta LakeDelta SharingETLIdentity ManagementLakehouseMachine-LearningMLflowModel ServingSecuritySQLUnity CatalogVector SearchVisualize

Properties

Name Type Description
run_id integer
task_key string
description string
state object
depends_on array
existing_cluster_id string
new_cluster object
notebook_task object
spark_jar_task object
spark_python_task object
sql_task object
start_time integer
setup_duration integer
execution_duration integer
cleanup_duration integer
end_time integer
cluster_instance object
attempt_number integer
libraries array
View JSON Schema on GitHub

JSON Schema

databricks-runtask-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RunTask",
  "title": "RunTask",
  "type": "object",
  "properties": {
    "run_id": {
      "type": "integer",
      "format": "int64",
      "example": "500123"
    },
    "task_key": {
      "type": "string",
      "example": "example_value"
    },
    "description": {
      "type": "string",
      "example": "A sample description."
    },
    "state": {
      "type": "object",
      "properties": {
        "life_cycle_state": {
          "type": "string"
        },
        "result_state": {
          "type": "string"
        },
        "state_message": {
          "type": "string"
        }
      },
      "example": "example_value"
    },
    "depends_on": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "task_key": {
            "type": "string"
          }
        }
      },
      "example": []
    },
    "existing_cluster_id": {
      "type": "string",
      "example": "500123"
    },
    "new_cluster": {
      "$ref": "#/components/schemas/CreateClusterRequest"
    },
    "notebook_task": {
      "type": "object",
      "properties": {
        "notebook_path": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "base_parameters": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "example": "example_value"
    },
    "spark_jar_task": {
      "type": "object",
      "properties": {
        "main_class_name": {
          "type": "string"
        },
        "parameters": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "example": "example_value"
    },
    "spark_python_task": {
      "type": "object",
      "properties": {
        "python_file": {
          "type": "string"
        },
        "parameters": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "example": "example_value"
    },
    "sql_task": {
      "type": "object",
      "properties": {
        "query": {
          "type": "object",
          "properties": {
            "query_id": {
              "type": "string"
            }
          }
        },
        "warehouse_id": {
          "type": "string"
        }
      },
      "example": "example_value"
    },
    "start_time": {
      "type": "integer",
      "format": "int64",
      "example": 10
    },
    "setup_duration": {
      "type": "integer",
      "format": "int64",
      "example": 10
    },
    "execution_duration": {
      "type": "integer",
      "format": "int64",
      "example": 10
    },
    "cleanup_duration": {
      "type": "integer",
      "format": "int64",
      "example": 10
    },
    "end_time": {
      "type": "integer",
      "format": "int64",
      "example": 10
    },
    "cluster_instance": {
      "type": "object",
      "properties": {
        "cluster_id": {
          "type": "string"
        },
        "spark_context_id": {
          "type": "string"
        }
      },
      "example": "example_value"
    },
    "attempt_number": {
      "type": "integer",
      "example": 10
    },
    "libraries": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Library"
      },
      "example": []
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/databricks-runtask"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.