akb_export
Export a full vault as a portable OKF knowledge bundle. Returns a path-content map where documents export 1:1 and tables/files become resource-linked concept documents.
Instructions
Export an entire vault as a portable knowledge bundle. Returns the bundle inline as a {path: content} map. The format parameter selects the on-disk format — currently 'okf' (Open Knowledge Format: markdown + YAML frontmatter, the only required field being type). Documents export 1:1; tables and files become OKF concept documents (schema / metadata + a resource pointer — the rows/bytes stay in AKB). Reader role required. For a downloadable zip, use the REST endpoint GET /api/v1/vaults/{vault}/export.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | Vault to export | |
| format | No | Bundle format. Currently only 'okf'. | okf |