Skip to main content

StagedModelInfo

One staged model directory, as seen by eviction and the storage API.

modelIdModelid (string)required

Model ID in repo form (org/name), reconstructed from the directory name.

directoryDirectory (string)required

Absolute path of the staged copy.

sizeBytesSizebytes (integer)required

Total size of all files in the staged copy.

lastUsedEpochSecondsLastusedepochseconds (number)required

Best-known last-use time: the .last_used marker when present, else the directory mtime.

inUseInuse (boolean)

True when a live runner currently uses this model (directly or as a companion). In-use models are never eviction candidates.

Default value: false
StagedModelInfo
{
"modelId": "string",
"directory": "string",
"sizeBytes": 0,
"lastUsedEpochSeconds": 0,
"inUse": false
}