Jupyter Server · Schema

Jupyter Server Contents Model

Schema for the contents model returned by the Jupyter Server REST API for files, directories, and notebooks.

ComputeInteractive ComputingKernelNotebooksPortableWorkbooks

Properties

Name Type Description
name string Basename of the entity.
path string Full path of the entity, relative to the server root.
type string Kind of contents.
writable boolean Whether the entity is writable.
created string Creation timestamp.
last_modified string Last modified timestamp.
mimetype stringnull MIME type of the file (null for directories and notebooks).
content object File contents, directory listing, or notebook JSON. Null when content is not requested.
format stringnull Encoding of the content.
size integernull Size of the entity in bytes.
hash stringnull Hash of the file contents.
View JSON Schema on GitHub

JSON Schema

jupyter-server-contents-model.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/jupyter-server/main/json-schema/jupyter-server-contents-model.json",
  "title": "Jupyter Server Contents Model",
  "description": "Schema for the contents model returned by the Jupyter Server REST API for files, directories, and notebooks.",
  "type": "object",
  "required": ["name", "path", "type"],
  "properties": {
    "name": {
      "type": "string",
      "description": "Basename of the entity."
    },
    "path": {
      "type": "string",
      "description": "Full path of the entity, relative to the server root."
    },
    "type": {
      "type": "string",
      "enum": ["file", "directory", "notebook"],
      "description": "Kind of contents."
    },
    "writable": {
      "type": "boolean",
      "description": "Whether the entity is writable."
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Creation timestamp."
    },
    "last_modified": {
      "type": "string",
      "format": "date-time",
      "description": "Last modified timestamp."
    },
    "mimetype": {
      "type": ["string", "null"],
      "description": "MIME type of the file (null for directories and notebooks)."
    },
    "content": {
      "description": "File contents, directory listing, or notebook JSON. Null when content is not requested."
    },
    "format": {
      "type": ["string", "null"],
      "enum": ["text", "base64", "json", null],
      "description": "Encoding of the content."
    },
    "size": {
      "type": ["integer", "null"],
      "description": "Size of the entity in bytes."
    },
    "hash": {
      "type": ["string", "null"],
      "description": "Hash of the file contents."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/jupyter-server-contents-model"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.