# Jupyter Kernel Messaging Protocol

**Canonical:** https://apis.io/apis/jupyter-notebook/jupyter-kernel-messaging/  
**Provider:** Jupyter Notebook — https://apis.io/providers/jupyter-notebook/  
**Base URL:** ws://localhost:8888  
**Documentation:** https://jupyter-client.readthedocs.io/en/stable/messaging.html

Jupyter Kernel Messaging Protocol is one of 14 APIs that [Jupyter Notebook](https://apis.io/providers/jupyter-notebook/) publishes on the [APIs.io](https://apis.io/) network, described by an AsyncAPI event-driven specification. This API exposes 1 JSON Schema definition. Tagged areas include Kernel, Messaging, Real-Time, and WebSocket. The published artifact set on APIs.io includes API documentation, an AsyncAPI specification, and 1 JSON Schema.

WebSocket-based messaging protocol for communication between Jupyter clients and computational kernels. Supports code execution, introspection, completion, and rich output over shell, IOPub, stdin, and control channels.

## Machine-readable artifacts (6)

- **Documentation** — https://jupyter-client.readthedocs.io/en/stable/messaging.html
- **Repository** — https://github.com/jupyter/jupyter_client
- **AsyncAPI** — https://raw.githubusercontent.com/api-evangelist/jupyter-notebook/refs/heads/main/asyncapi/jupyter-kernel-messaging-asyncapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/jupyter-notebook/refs/heads/main/json-schema/jupyter-kernel-message.json
- **JSONLDContext** — https://raw.githubusercontent.com/api-evangelist/jupyter-notebook/refs/heads/main/json-ld/jupyter-notebook-context.jsonld
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/jupyter-notebook/refs/heads/main/apis.yml

## Other Jupyter Notebook APIs (12)

- [Jupyter Notebook Authorization API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-authorization-api/)
- [Jupyter Notebook Config API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-config-api/)
- [Jupyter Notebook Contents API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-contents-api/)
- [Jupyter Notebook General API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-general-api/)
- [Jupyter Notebook Groups API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-groups-api/)
- [Jupyter Notebook Hub API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-hub-api/)
- [Jupyter Notebook Kernels API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-kernels-api/)
- [Jupyter Notebook Kernelspecs API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-kernelspecs-api/)
- [Jupyter Notebook Proxy API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-proxy-api/)
- [Jupyter Notebook Services API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-services-api/)
- [Jupyter Notebook Sessions API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-sessions-api/)
- [Jupyter Notebook Terminals API](https://apis.io/apis/jupyter-notebook/jupyter-notebook-terminals-api/)

## Tags

Kernel, Messaging, Real-Time, WebSocket

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/jupyter-notebook/jupyter-kernel-messaging/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/jupyter-notebook/.
