Azure Databricks · Schema

Run

AnalyticsApache SparkBig DataData EngineeringMachine-Learning

Properties

Name Type Description
run_id integer Canonical identifier of the run
job_id integer ID of the job this run belongs to
run_name string Name of the run
creator_user_name string Username of the user who triggered the run
number_in_job integer Sequence number of this run among all runs of the job
state object
tasks array
schedule object
cluster_spec object
cluster_instance object
start_time integer Start time of the run (epoch milliseconds)
setup_duration integer Time spent setting up the cluster in milliseconds
execution_duration integer Time spent executing the run in milliseconds
cleanup_duration integer Time spent cleaning up after the run in milliseconds
end_time integer End time of the run (epoch milliseconds)
trigger string What triggered this run
run_type string
attempt_number integer Current attempt number of the run
run_page_url string URL of the run page in the Databricks UI
format string
View JSON Schema on GitHub

JSON Schema

microsoft-azure-databricks-run-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Run",
  "title": "Run",
  "type": "object",
  "properties": {
    "run_id": {
      "type": "integer",
      "format": "int64",
      "description": "Canonical identifier of the run",
      "example": "500123"
    },
    "job_id": {
      "type": "integer",
      "format": "int64",
      "description": "ID of the job this run belongs to",
      "example": "500123"
    },
    "run_name": {
      "type": "string",
      "description": "Name of the run",
      "example": "example_value"
    },
    "creator_user_name": {
      "type": "string",
      "description": "Username of the user who triggered the run",
      "example": "example_value"
    },
    "number_in_job": {
      "type": "integer",
      "format": "int64",
      "description": "Sequence number of this run among all runs of the job",
      "example": 10
    },
    "state": {
      "$ref": "#/components/schemas/RunState"
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "run_id": {
            "type": "integer",
            "format": "int64"
          },
          "task_key": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/RunState"
          },
          "start_time": {
            "type": "integer",
            "format": "int64"
          },
          "setup_duration": {
            "type": "integer",
            "format": "int64"
          },
          "execution_duration": {
            "type": "integer",
            "format": "int64"
          },
          "cleanup_duration": {
            "type": "integer",
            "format": "int64"
          },
          "end_time": {
            "type": "integer",
            "format": "int64"
          },
          "attempt_number": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "example": []
    },
    "schedule": {
      "$ref": "#/components/schemas/CronSchedule"
    },
    "cluster_spec": {
      "type": "object",
      "properties": {
        "existing_cluster_id": {
          "type": "string"
        },
        "new_cluster": {
          "$ref": "#/components/schemas/CreateClusterRequest"
        }
      },
      "example": "example_value"
    },
    "cluster_instance": {
      "type": "object",
      "properties": {
        "cluster_id": {
          "type": "string"
        },
        "spark_context_id": {
          "type": "string"
        }
      },
      "example": "example_value"
    },
    "start_time": {
      "type": "integer",
      "format": "int64",
      "description": "Start time of the run (epoch milliseconds)",
      "example": 10
    },
    "setup_duration": {
      "type": "integer",
      "format": "int64",
      "description": "Time spent setting up the cluster in milliseconds",
      "example": 10
    },
    "execution_duration": {
      "type": "integer",
      "format": "int64",
      "description": "Time spent executing the run in milliseconds",
      "example": 10
    },
    "cleanup_duration": {
      "type": "integer",
      "format": "int64",
      "description": "Time spent cleaning up after the run in milliseconds",
      "example": 10
    },
    "end_time": {
      "type": "integer",
      "format": "int64",
      "description": "End time of the run (epoch milliseconds)",
      "example": 10
    },
    "trigger": {
      "type": "string",
      "enum": [
        "PERIODIC",
        "ONE_TIME",
        "RETRY",
        "RUN_JOB_TASK",
        "FILE_ARRIVAL"
      ],
      "description": "What triggered this run",
      "example": "PERIODIC"
    },
    "run_type": {
      "type": "string",
      "enum": [
        "JOB_RUN",
        "WORKFLOW_RUN",
        "SUBMIT_RUN"
      ],
      "example": "JOB_RUN"
    },
    "attempt_number": {
      "type": "integer",
      "format": "int32",
      "description": "Current attempt number of the run",
      "example": 10
    },
    "run_page_url": {
      "type": "string",
      "description": "URL of the run page in the Databricks UI",
      "example": "https://www.example.com"
    },
    "format": {
      "type": "string",
      "enum": [
        "SINGLE_TASK",
        "MULTI_TASK"
      ],
      "example": "SINGLE_TASK"
    }
  }
}

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/microsoft-azure-databricks-run"
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 email required.

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