Databricks · Arazzo Workflow

Databricks Restart Cluster and Verify Running

Version 1.0.0

Restart a running cluster and poll until it returns to RUNNING.

1 workflow 1 source API 1 provider
View Spec View on GitHub Artificial IntelligenceAnalyticsApache SparkBig DataCleanroomsCloud ComputingDataData AnalyticsData EngineeringData GovernanceDelta LakeDelta SharingETLIdentity ManagementLakehouseMachine-LearningMLflowModel ServingSecuritySQLUnity CatalogVector SearchVisualizeArazzoWorkflows

Provider

databricks

Workflows

restart-cluster-and-verify
Restart a cluster and wait until it is RUNNING again.
Issues a restart for the given cluster and then repeatedly reads the cluster status until the life cycle state is RUNNING, looping while it is still RESTARTING or PENDING.
2 steps inputs: cluster_id outputs: clusterId, finalState
1
restartCluster
Restart the cluster. If the cluster is not RUNNING the restart is a no-op, so the verification poll confirms the outcome.
2
pollClusterState
Read the cluster status and inspect the life cycle state. Loop back while the cluster is RESTARTING or PENDING; finish once it is RUNNING.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Databricks Restart Cluster and Verify Running
  summary: Restart a running cluster and poll until it returns to RUNNING.
  description: >-
    Restarts an existing Databricks cluster and then polls the cluster details
    endpoint until the cluster transitions back into the RUNNING state after the
    restart cycle. The supplied cluster_id drives both the restart request and
    the verification poll loop. Every step spells out its request inline so the
    flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-600.50
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-600.50
      capability_name: IT Infrastructure Management
      spec: databricks-clusters-api-openapi.yml
      confidence: 0.75
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: clustersApi
  url: ../openapi/databricks-clusters-api-openapi.yml
  type: openapi
workflows:
- workflowId: restart-cluster-and-verify
  summary: Restart a cluster and wait until it is RUNNING again.
  description: >-
    Issues a restart for the given cluster and then repeatedly reads the
    cluster status until the life cycle state is RUNNING, looping while it is
    still RESTARTING or PENDING.
  inputs:
    type: object
    required:
    - cluster_id
    properties:
      cluster_id:
        type: string
        description: The identifier of the cluster to restart.
  steps:
  - stepId: restartCluster
    description: >-
      Restart the cluster. If the cluster is not RUNNING the restart is a
      no-op, so the verification poll confirms the outcome.
    operationId: restartCluster
    requestBody:
      contentType: application/json
      payload:
        cluster_id: $inputs.cluster_id
    successCriteria:
    - condition: $statusCode == 200
  - stepId: pollClusterState
    description: >-
      Read the cluster status and inspect the life cycle state. Loop back while
      the cluster is RESTARTING or PENDING; finish once it is RUNNING.
    operationId: getCluster
    parameters:
    - name: cluster_id
      in: query
      value: $inputs.cluster_id
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      state: $response.body#/state
      stateMessage: $response.body#/state_message
    onSuccess:
    - name: stillRestarting
      type: goto
      stepId: pollClusterState
      criteria:
      - context: $response.body
        condition: $.state == "RESTARTING"
        type: jsonpath
    - name: stillPending
      type: goto
      stepId: pollClusterState
      criteria:
      - context: $response.body
        condition: $.state == "PENDING"
        type: jsonpath
    - name: running
      type: end
      criteria:
      - context: $response.body
        condition: $.state == "RUNNING"
        type: jsonpath
  outputs:
    clusterId: $inputs.cluster_id
    finalState: $steps.pollClusterState.outputs.state

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow 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 workflow
curl "https://apis.io/api/v1/arazzo/databricks-restart-cluster-and-verify-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.