Databricks · Arazzo Workflow

Databricks Export a Notebook and Re-Import as a Copy

Version 1.0.0

Export a notebook's content and re-import it to a new workspace path.

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

export-and-reimport-notebook
Export a notebook and re-import its content to a new path.
Exports the source notebook in SOURCE format and imports the returned content to the destination path as a copy.
2 steps inputs: destination_path, language, source_path outputs: destinationPath, sourcePath
1
exportNotebook
Export the source notebook in SOURCE format and capture its base64-encoded content.
2
importCopy
Import the exported content into the destination path, overwriting any existing object there.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Databricks Export a Notebook and Re-Import as a Copy
  summary: Export a notebook's content and re-import it to a new workspace path.
  description: >-
    Copies a Databricks notebook within the workspace by exporting the source
    notebook's base64-encoded SOURCE content and re-importing that same content
    to a different destination path, producing an independent copy. The exported
    content output feeds directly into the import request body. 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
sourceDescriptions:
- name: workspaceApi
  url: ../openapi/databricks-workspace-api-openapi.yml
  type: openapi
workflows:
- workflowId: export-and-reimport-notebook
  summary: Export a notebook and re-import its content to a new path.
  description: >-
    Exports the source notebook in SOURCE format and imports the returned
    content to the destination path as a copy.
  inputs:
    type: object
    required:
    - source_path
    - destination_path
    - language
    properties:
      source_path:
        type: string
        description: The absolute path of the notebook to export.
      destination_path:
        type: string
        description: The absolute path to write the copied notebook to.
      language:
        type: string
        description: The notebook language (SCALA, PYTHON, SQL, or R).
  steps:
  - stepId: exportNotebook
    description: >-
      Export the source notebook in SOURCE format and capture its base64-encoded
      content.
    operationId: exportWorkspaceObject
    parameters:
    - name: path
      in: query
      value: $inputs.source_path
    - name: format
      in: query
      value: SOURCE
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      content: $response.body#/content
  - stepId: importCopy
    description: >-
      Import the exported content into the destination path, overwriting any
      existing object there.
    operationId: importWorkspaceObject
    requestBody:
      contentType: application/json
      payload:
        path: $inputs.destination_path
        format: SOURCE
        language: $inputs.language
        content: $steps.exportNotebook.outputs.content
        overwrite: true
    successCriteria:
    - condition: $statusCode == 200
  outputs:
    sourcePath: $inputs.source_path
    destinationPath: $inputs.destination_path

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-export-and-reimport-notebook-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.