.jobs.list
Liatir.jobs.list() lists async process jobs tracked by Liatir.
Signature
Example
JobEntry
| Field | Type | Description |
|---|---|---|
id | string / str | Unique identifier for the job. |
cmd | string / str | Command that was executed. |
args | string[] / list[str] | Arguments passed to the command. |
status | object / dict | Current job status (see below). |
label | string | null / str | None | Human-readable label. |
kind | string | null / str | None | Job kind tag. |
metadata | object / dict | Metadata attached to the job, or null. |
startedAtMs | number | Start time in Unix milliseconds. |
endedAtMs | number or null | End time in Unix milliseconds. |
workspaceId | string or null | Owning workspace. |
progress | object or null | Current 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.