Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Jupyter Notebook Kernels API

Kernel lifecycle management on the gateway. The gateway may enforce kernel limits and seed kernels.

Jupyter Notebook Kernels API is one of 14 APIs that Jupyter Notebook publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 3 JSON Schema definitions.

Tagged areas include Kernels. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 3 JSON Schemas.

This API exposes 6 operations across 4 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 3.0.0.

Requests are made against a single base URL, http://localhost:8888/api.

6 operations 4 paths 1 schemas 1 DELETE2 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.0.0
Base URL
http://localhost:8888/api
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

Jupyter Notebook Kernels API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (token). An API key is passed in the query as token (tokenQuery). By default, every request must be authenticated.

  • token — Authentication token configured via KGAUTHTOKEN. Passed as 'token ' in the Authorization header.
  • tokenQuery — Authentication token passed as a query parameter.

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 1 DELETE, 2 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Kernels 6

Kernel lifecycle management on the gateway. The gateway may enforce kernel limits and seed kernels.

GET
/api/kernels
Jupyter Notebook List running kernels
listKernels → 200
POST
/api/kernels
Jupyter Notebook Start a kernel
startKernel body → 201402403
GET
/api/kernels/{kernel_id}
Jupyter Notebook Get kernel information
getKernel 1 param → 200404
DELETE
/api/kernels/{kernel_id}
Jupyter Notebook Shut down a kernel
shutdownKernel 1 param → 204403404
POST
/api/kernels/{kernel_id}/interrupt
Jupyter Notebook Interrupt a kernel
interruptKernel 1 param → 204404
POST
/api/kernels/{kernel_id}/restart
Jupyter Notebook Restart a kernel
restartKernel 1 param → 200404

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Kernel (5 properties). Each schema is shown below with its type and property counts.

Kernel
object
A running kernel instance.
5 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jupyter-notebook-kernels-api-openapi.yml Raw ↑

Other APIs Jupyter Notebook publishes across the network.

Jupyter Kernel Messaging Protocol
Jupyter Notebook Authorization API
Jupyter Notebook Config API
Jupyter Notebook Contents API
Jupyter Notebook General API
Jupyter Notebook Groups API
Jupyter Notebook Hub API
Jupyter Notebook Kernelspecs API
Jupyter Notebook Proxy API
Jupyter Notebook Services API
Jupyter Notebook Sessions API
Jupyter Notebook Terminals API