kernels

Restart a kernel

Changed on
post/api/kernels/{kernel_id}/restart

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

kernel_id, string uuid required

kernel uuid

Response

Kernel restarted

Kernel required

Kernel information

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.

Changes

    • breaking

      added the new path request parameter kernel_id

    • info

      added the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    1 more change in this revision