Jupyter Server Sessions API

Notebook-kernel session management.

Operations 5

GET /sessions Jupyter Server List sessions #
POST /sessions Jupyter Server Create session #
GET /sessions/{session} Jupyter Server Get session #
PATCH /sessions/{session} Jupyter Server Update session #
DELETE /sessions/{session} Jupyter Server Delete session #

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-sessions-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 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.

OpenAPI Specification

jupyter-server-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Jupyter Server REST Checkpoints Sessions 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: Sessions
  description: Notebook-kernel session management.
paths:
  /sessions:
    get:
      operationId: listSessions
      summary: Jupyter Server List sessions
      description: Returns the list of running sessions.
      tags:
      - Sessions
      responses:
        '200':
          description: List of session objects.
    post:
      operationId: createSession
      summary: Jupyter Server Create session
      description: Creates a new session, optionally starting a new kernel.
      tags:
      - Sessions
      responses:
        '201':
          description: Newly created session object.
  /sessions/{session}:
    get:
      operationId: getSession
      summary: Jupyter Server Get session
      description: Retrieves the session by ID.
      tags:
      - Sessions
      parameters:
      - name: session
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Session object.
    patch:
      operationId: updateSession
      summary: Jupyter Server Update session
      description: Updates the session, for example to change the path or kernel.
      tags:
      - Sessions
      parameters:
      - name: session
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Updated session object.
    delete:
      operationId: deleteSession
      summary: Jupyter Server Delete session
      description: Deletes the session and shuts down its kernel.
      tags:
      - Sessions
      parameters:
      - name: session
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Session 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