---
title: "List the JSON data for all currently running kernels"
method: GET
path: "/api/kernels"
tags: ["kernels"]
---

# List the JSON data for all currently running kernels

`GET /api/kernels`

## Response `200`

List of running kernels

- Kernel[]
  - `id` string, uuid, required — uuid of kernel
  - `name` string, required — kernel spec name
  - `last_activity` string — ISO 8601 timestamp for the last-seen activity on this kernel. Use this in combination with execution_state == 'idle' to identify which kernels have been idle since a given time. Timestamps will be UTC, indicated 'Z' suffix. Added in notebook server 5.0.
  - `connections` number — The number of active connections to this kernel.
  - `execution_state` string — Current execution state of the kernel (typically 'idle' or 'busy', but may be other values, such as 'starting'). Added in notebook server 5.0.

## Other responses

- `403` — This method is not accessible when `EnterpriseGatewayApp.list_kernels` is `False`.

---

[API](https://skmtc.net/jupyter-server/apis/jupyter-enterprise-gateway-api.md) · [All operations](https://skmtc.net/jupyter-server/apis/jupyter-enterprise-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jupyter-server/jupyter-enterprise-gateway-api/versions/15b16ff20d45/schema)
