Databricks · Arazzo Workflow

Databricks Terminate Then Permanently Delete Cluster

Version 1.0.0

Terminate a cluster, confirm it is TERMINATED, then permanently delete it.

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

terminate-and-delete-cluster
Terminate, confirm, then permanently delete a cluster.
Terminates the cluster, polls until it is TERMINATED, then permanently deletes the cluster configuration.
3 steps inputs: cluster_id outputs: clusterId, finalState
1
terminateCluster
Terminate the cluster. Termination is asynchronous, so a poll loop confirms the cluster has stopped before deletion.
2
pollClusterState
Read the cluster status and inspect the life cycle state. Loop back while the cluster is TERMINATING; continue once it is TERMINATED.
3
permanentDelete
Permanently delete the terminated cluster, removing its configuration entirely.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Databricks Terminate Then Permanently Delete Cluster
  summary: Terminate a cluster, confirm it is TERMINATED, then permanently delete it.
  description: >-
    Gracefully decommissions a Databricks cluster by first terminating it,
    polling until the cluster reports a TERMINATED state, and then issuing a
    permanent delete to remove the cluster configuration entirely. The
    cluster_id drives all three steps. 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: terminate-and-delete-cluster
  summary: Terminate, confirm, then permanently delete a cluster.
  description: >-
    Terminates the cluster, polls until it is TERMINATED, then permanently
    deletes the cluster configuration.
  inputs:
    type: object
    required:
    - cluster_id
    properties:
      cluster_id:
        type: string
        description: The cluster to terminate and permanently delete.
  steps:
  - stepId: terminateCluster
    description: >-
      Terminate the cluster. Termination is asynchronous, so a poll loop
      confirms the cluster has stopped before deletion.
    operationId: terminateCluster
    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 TERMINATING; continue once it is TERMINATED.
    operationId: getCluster
    parameters:
    - name: cluster_id
      in: query
      value: $inputs.cluster_id
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      state: $response.body#/state
    onSuccess:
    - name: stillTerminating
      type: goto
      stepId: pollClusterState
      criteria:
      - context: $response.body
        condition: $.state == "TERMINATING"
        type: jsonpath
    - name: terminated
      type: goto
      stepId: permanentDelete
      criteria:
      - context: $response.body
        condition: $.state == "TERMINATED"
        type: jsonpath
  - stepId: permanentDelete
    description: >-
      Permanently delete the terminated cluster, removing its configuration
      entirely.
    operationId: permanentDeleteCluster
    requestBody:
      contentType: application/json
      payload:
        cluster_id: $inputs.cluster_id
    successCriteria:
    - condition: $statusCode == 200
  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-terminate-and-delete-cluster-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.