Skip to main content

IRuntimeModel

Agent Runtimes


Agent Runtimes / models/Runtime / IRuntimeModel

Interface: IRuntimeModel

Defined in: src/models/Runtime.ts:42

A live runtime.

Composition of the control-plane runtime pod (IRuntimePod) and the JupyterLab kernel model (Kernel.IModel, e.g. id, name, execution_state). This is the canonical shape used across the app once a pod has an attached kernel: IRuntimePod supplies the pod/control-plane fields (snake_case) and Kernel.IModel supplies the live kernel fields.

Note on identity: Kernel.IModel.id is the kernel id (only present once a kernel is attached), while IRuntimePod.uid is the stable pod id. Prefer uid for pod identity and id for kernel identity.

Extends

Properties

burning_rate

burning_rate: number

Defined in: src/models/Runtime.ts:95

Credits burning rate per second

Inherited from

IRuntimePod.burning_rate


environment_name

environment_name: string

Defined in: src/models/Runtime.ts:71

Environment name

Inherited from

IRuntimePod.environment_name


environment_title

environment_title: string

Defined in: src/models/Runtime.ts:67

Environment display name

Inherited from

IRuntimePod.environment_title


expired_at?

optional expired_at?: string

Defined in: src/models/Runtime.ts:107

Runtime credits reservation expiration timestamp

Inherited from

IRuntimePod.expired_at


given_name

given_name: string

Defined in: src/models/Runtime.ts:83

Runtime user given name

Inherited from

IRuntimePod.given_name


ingress

ingress: string

Defined in: src/models/Runtime.ts:79

Runtime ingress URL

Inherited from

IRuntimePod.ingress


pod_name

pod_name: string

Defined in: src/models/Runtime.ts:75

Runtime name

Inherited from

IRuntimePod.pod_name


reservation_id?

optional reservation_id?: string

Defined in: src/models/Runtime.ts:99

Kernel reservation ID

Inherited from

IRuntimePod.reservation_id


started_at

started_at: string

Defined in: src/models/Runtime.ts:103

Runtime usage starting timestamp

Inherited from

IRuntimePod.started_at


token

token: string

Defined in: src/models/Runtime.ts:91

Server authentication token

Inherited from

IRuntimePod.token


type

type: IRuntimeType

Defined in: src/models/Runtime.ts:87

Runtime type

Inherited from

IRuntimePod.type


uid

uid: string

Defined in: src/models/Runtime.ts:63

Stable runtime pod identifier (ULID) assigned by the control-plane.

Distinct from the kernel id carried by Kernel.IModel: a pod may exist before a kernel is attached, so prefer uid for pod identity.

Inherited from

IRuntimePod.uid