Kernel Spec interface.


See Kernel specs.

interface ISpecModel {
    argv: string[];
    display_name: string;
    env?: PartialJSONObject;
    language: string;
    metadata?: PartialJSONObject;
    name: string;
    resources: {
        [key: string]: string;


  • PartialJSONObject
    • ISpecModel


argv: string[]

A list of command line arguments used to start the kernel.

display_name: string

The kernel’s name as it should be displayed in the UI.

env?: PartialJSONObject

A dictionary of environment variables to set for the kernel.

language: string

The name of the language of the kernel.

metadata?: PartialJSONObject

A dictionary of additional attributes about this kernel; used by clients to aid in kernel selection.

name: string

The name of the kernel spec.

resources: {
    [key: string]: string;

A mapping of resource file name to download path.

Type declaration

  • [key: string]: string