Databricks · Arazzo Workflow

Databricks Create Directory and Import Notebook

Version 1.0.0

Create a workspace directory, import a notebook into it, then verify status.

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

import-notebook-and-verify
Create a directory, import a notebook, and verify it exists.
Creates the parent directory, imports the notebook content into the target path, then reads the object status to confirm the import succeeded.
3 steps inputs: content, directory_path, language, notebook_path outputs: notebookPath, objectId, objectType
1
createDirectory
Create the target directory and any necessary parent directories before importing.
2
importNotebook
Import the base64-encoded notebook into the target path in SOURCE format, overwriting any existing object.
3
verifyStatus
Read the object status to confirm the imported notebook exists at the target path.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Databricks Create Directory and Import Notebook
  summary: Create a workspace directory, import a notebook into it, then verify status.
  description: >-
    Prepares a workspace location by creating the target directory (and any
    parents), imports a base64-encoded notebook into that path, and then reads
    the object status to confirm the notebook landed. The shared path input
    drives directory creation, import, and the status verification. 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: import-notebook-and-verify
  summary: Create a directory, import a notebook, and verify it exists.
  description: >-
    Creates the parent directory, imports the notebook content into the target
    path, then reads the object status to confirm the import succeeded.
  inputs:
    type: object
    required:
    - directory_path
    - notebook_path
    - content
    - language
    properties:
      directory_path:
        type: string
        description: The absolute directory path to create (must start with /).
      notebook_path:
        type: string
        description: The absolute path to import the notebook to (must start with /).
      content:
        type: string
        description: The base64-encoded notebook content to import.
      language:
        type: string
        description: The notebook language (SCALA, PYTHON, SQL, or R).
  steps:
  - stepId: createDirectory
    description: >-
      Create the target directory and any necessary parent directories before
      importing.
    operationId: createWorkspaceDirectory
    requestBody:
      contentType: application/json
      payload:
        path: $inputs.directory_path
    successCriteria:
    - condition: $statusCode == 200
  - stepId: importNotebook
    description: >-
      Import the base64-encoded notebook into the target path in SOURCE format,
      overwriting any existing object.
    operationId: importWorkspaceObject
    requestBody:
      contentType: application/json
      payload:
        path: $inputs.notebook_path
        format: SOURCE
        language: $inputs.language
        content: $inputs.content
        overwrite: true
    successCriteria:
    - condition: $statusCode == 200
  - stepId: verifyStatus
    description: >-
      Read the object status to confirm the imported notebook exists at the
      target path.
    operationId: getWorkspaceObjectStatus
    parameters:
    - name: path
      in: query
      value: $inputs.notebook_path
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      objectType: $response.body#/object_type
      objectId: $response.body#/object_id
  outputs:
    notebookPath: $inputs.notebook_path
    objectId: $steps.verifyStatus.outputs.objectId
    objectType: $steps.verifyStatus.outputs.objectType

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-import-notebook-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.