Copy Filesystem to Knowledge Base
Copy a file or directory tree from a connector filesystem root into a knowledge base’s document store. Store-only by default (parse: true to opt in). Requires fs:copy (0.1.27+).
Authorizations
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Body
Filesystem root ref on the node (from /browse/filesystems).
Target KB (numeric id, same as the /k2 routes).
KB directory files land under (root when omitted). A recursive copy recreates the tree below it.
Job cap on files shipped. Omit for the node default (5000).
x >= 0Job cap on aggregate raw bytes. Omit for the node default (2 GiB).
x >= 0Metadata stamped onto every landed file.
Parse + embed after storing. Default false — copy is store-only; the
KB's auto-processing setting never applies to connector copies.
Path relative to the root: a file, or a directory when recursive.
Empty / omitted / whitespace = the filesystem root (same as the
connector's CopyFileJob / browse verbs).
true = path is a directory: walk it and stream every regular file
(symlinks skipped). Copying a directory without it is refused node-side.
Response
Copy job accepted and dispatched