Get workspace item
lca_getRead a saved workspace object by ref, or list systems, results or workspaces. Takes exactly one of ref (one object's detail) or kind (a list). A ref is read in the workspace named by workspace, which it requires: each workspace numbers its objects from 1. A kind list reads that workspace, else this connection's default. Refs: s<N> → product system (live openLCA structure), a<N> → saved assessment (full impact results), c<N> → saved comparison (full matrix). An s<N> read also states the system's kind and the edit tool it takes; form='authored' returns it in the authored shape the compose and edit tools accept. Kinds: 'systems' / 'assessments' / 'comparisons' return paginated lists of this workspace, with optional filters (query, system_ref, method, assessment_status, include_stale); 'workspaces' / 'engines' list the workspaces and engine databases available, by name, marking the connection's default. Refs are short handles; UUIDs are not accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Single-entity ref. `s<N>` system, `a<N>` assessment, `c<N>` comparison. Mutually exclusive with `kind`. | |
| form | No | ref='s<N>' only. 'snapshot' (default) is the structural read. 'authored' returns the system lifted back to the AUTHORED form — the shape `lca_compose_assembly` / `lca_compose_linked` speak, tagged with its `kind`, carrying a multi-stage bill of quantities' stage DAG unflattened and a linked system's `links[]` (neither of which the snapshot has). Read this before editing a system you did not just author. | |
| kind | No | Collection mode. Mutually exclusive with `ref`. 'workspaces' and 'engines' are the odd ones out: they list the WORKSPACES / ENGINE DATABASES available to you rather than the contents of the current one. | |
| limit | No | ||
| query | No | Free-text match on name/description (case-insensitive). | |
| method | No | kind='assessments': substring match on method_name. | |
| offset | No | ||
| workspace | No | Name of the workspace to read, as `lca_get(kind='workspaces')` lists it. Required with `ref`: each workspace numbers its objects from 1, so a ref is read in the workspace it came from. Omitted with `kind`: this connection's default workspace, which every conversation on the connection shares and which is often an empty sandbox. | |
| system_ref | No | kind='assessments': filter to assessments on a single system. | |
| include_stale | No | kind='systems': when true, also returns OUT_OF_SYNC / NOT_FOUND / UNREACHABLE / ARCHIVED rows. | |
| assessment_status | No | kind='assessments': filter by status. |