# `dapi asset add ` Adds one or more local files as assets in the open project. The counterpart of [`asset export`](./export.md). ## Input - ``: absolute or relative file paths (resolved against CWD) - `--folder `: folder to place the new assets in (optional; default the library root) ## Output JSON Lines on stdout, one `AssetRecord` per added file (the same shape [`asset ls`](./ls.md) prints). ## Errors Exits non-zero before importing anything if `--folder` doesn't resolve to a folder. A file that fails to import fails the whole command with `: ` on stderr; files imported before the failure stay in the library.