IRuntimeModel
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
IRuntimePod.IModel
Properties
burning_rate
burning_rate:
number
Defined in: src/models/Runtime.ts:95
Credits burning rate per second
Inherited from
environment_name
environment_name:
string
Defined in: src/models/Runtime.ts:71
Environment name
Inherited from
environment_title
environment_title:
string
Defined in: src/models/Runtime.ts:67
Environment display name
Inherited from
expired_at?
optionalexpired_at?:string
Defined in: src/models/Runtime.ts:107
Runtime credits reservation expiration timestamp
Inherited from
given_name
given_name:
string
Defined in: src/models/Runtime.ts:83
Runtime user given name
Inherited from
ingress
ingress:
string
Defined in: src/models/Runtime.ts:79
Runtime ingress URL
Inherited from
pod_name
pod_name:
string
Defined in: src/models/Runtime.ts:75
Runtime name
Inherited from
reservation_id?
optionalreservation_id?:string
Defined in: src/models/Runtime.ts:99
Kernel reservation ID
Inherited from
started_at
started_at:
string
Defined in: src/models/Runtime.ts:103
Runtime usage starting timestamp
Inherited from
token
token:
string
Defined in: src/models/Runtime.ts:91
Server authentication token
Inherited from
type
type:
IRuntimeType
Defined in: src/models/Runtime.ts:87
Runtime type
Inherited from
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.