akb_export
Export a vault as a portable knowledge bundle in OKF format. Returns inline path-content map, converting documents to markdown with YAML frontmatter.
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 |