Jupyter Server Contents API

Notebook and file management operations.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/jupyter-server-contents-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

jupyter-server-contents-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Jupyter Server REST Checkpoints Contents API
  description: Core REST API for Jupyter Server, the backend that powers Jupyter Notebook, JupyterLab, and other Jupyter web applications. Provides endpoints for managing kernels, sessions, contents (notebooks and files), terminals, kernel specifications, configuration, and server status.
  version: 2.14.0
  license:
    name: BSD-3-Clause
    url: https://opensource.org/licenses/BSD-3-Clause
  contact:
    name: Jupyter Project
    url: https://jupyter-server.readthedocs.io
    email: jupyter@googlegroups.com
servers:
- url: http://localhost:8888/api
  description: Local Jupyter Server
security:
- token: []
tags:
- name: Contents
  description: Notebook and file management operations.
paths:
  /contents/{path}:
    get:
      operationId: getContents
      summary: Jupyter Server Get contents
      description: Retrieves a file or directory at the given path.
      tags:
      - Contents
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      - name: type
        in: query
        schema:
          type: string
          enum:
          - file
          - directory
          - notebook
      - name: format
        in: query
        schema:
          type: string
          enum:
          - text
          - base64
      - name: content
        in: query
        schema:
          type: integer
      responses:
        '200':
          description: Contents model for the requested path.
    post:
      operationId: createContents
      summary: Jupyter Server Create contents
      description: Creates a new file or directory at the given path.
      tags:
      - Contents
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Contents model for the newly created item.
    patch:
      operationId: renameContents
      summary: Jupyter Server Rename contents
      description: Renames or moves a file or directory at the given path.
      tags:
      - Contents
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Contents model for the renamed item.
    put:
      operationId: saveContents
      summary: Jupyter Server Save contents
      description: Saves or uploads a file or notebook to the given path.
      tags:
      - Contents
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Contents model for the saved item.
        '201':
          description: Newly created contents model.
    delete:
      operationId: deleteContents
      summary: Jupyter Server Delete contents
      description: Deletes a file or directory at the given path.
      tags:
      - Contents
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Contents deleted.
components:
  securitySchemes:
    token:
      type: apiKey
      in: header
      name: Authorization
      description: 'Token-based authentication. Use the form: Authorization: token <token>'
    xsrf:
      type: apiKey
      in: header
      name: X-XSRFToken
      description: XSRF token required for browser-based requests.
externalDocs:
  description: Jupyter Server REST API documentation
  url: https://jupyter-server.readthedocs.io/en/latest/developers/rest-api.html