Skip to content

.jobs.list ​

Liatir.jobs.list() lists async process jobs tracked by Liatir.

Signature ​

Example ​

JobEntry ​

FieldTypeDescription
idstring / strUnique identifier for the job.
cmdstring / strCommand that was executed.
argsstring[] / list[str]Arguments passed to the command.
statusobject / dictCurrent job status (see below).
labelstring | null / str | NoneHuman-readable label.
kindstring | null / str | NoneJob kind tag.
metadataobject / dictMetadata attached to the job, or null.
startedAtMsnumberStart time in Unix milliseconds.
endedAtMsnumber or nullEnd time in Unix milliseconds.
workspaceIdstring or nullOwning workspace.
progressobject or nullCurrent progress reported by the Plugin.

IMPORTANT

JobEntry fields are always camelCase in Node, Python, R and Native, because they come from the JSON response of the Liatir bridge.

Spawn returns { jobId }; list, status and run return Job entries with id. During liatir dev, listing is restricted to the current session and workspace. R returns a list of named lists; Native Rust returns a JSON array.