akb_import
Import a knowledge bundle into a vault, restoring documents from a file map while skipping existing paths and reserved records.
Instructions
Import a knowledge bundle into a vault. Pass files as a {path: content} map (the shape akb_export returns). format selects the bundle format — currently 'okf'. Concept documents are imported as AKB documents; a type: table/file concept doc (which carries only schema/metadata, not rows/bytes) imports as a regular document describing that asset. Existing paths are skipped, not overwritten. Records targeting the reserved 'overview' collection or carrying type='skill' are skipped per-record and reported in the response's 'reserved' list. Writer role required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Bundle as a {bundle-relative-path: markdown-content} map. | |
| vault | Yes | Target vault | |
| format | No | Bundle format. Currently only 'okf'. | okf |
| status | No | Optional: override status for every imported document. | |
| _vault_skill_ack | No | Opaque acknowledgement returned as vault_skill.ack_token. After applying that guide, retry the unchanged operation with this value. The bundled proxy supplies it automatically. |