Commands
list
Lists visible file artifacts in one workspace or across the account. Usageget
Gets the latest or a selected version of one file artifact.<id> is required.
Usage
--version is an integer; omit it for the latest version.
versions
Lists every retained version for a file ID. Usageupload
Uploads a local file as a new Registry file artifact. Usagedownload
Downloads the latest or a selected version of a file artifact. Usage
Binary content is refused on an interactive terminal unless
--output or a
pipe is used. Downloads stop after 64 MiB.
delete
Archives a file artifact while retaining its versions. Usage--confirm skips the prompt.
Structured reads support --json, --jq, and --template. Valid artifact
fields are artifact_status, created_at, description, id, is_latest,
is_system, kind, metadata, name, source_digest, updated_at,
version_ordinal, and workspace_id.
Examples
Output and behavior
- Upload detects the media type from the extension when
--media-typeis omitted. - Duplicate stored paths in one workspace are rejected; choose another
--asvalue. - A partial parent pair is rejected before upload.
deleteis a soft delete: listings hide the file, but versions remain.- Empty list results exit with code
0.