Import
Bulk import data into your knowledge base. The import endpoint accepts the same source configuration options as thekiwifs import CLI command.
integer
Pages created or updated.
integer
Rows unchanged since last import.
integer
Pages tombstoned with
_archived_at during a full sync (when source rows disappear).array
Per-row error messages.
Source types
Source types
Mapping template syntax
Mapping template syntax
Use double-brace templates to map source fields to KiwiFS file paths and frontmatter:
Upload file for import
Upload a file to the server for import processing.POST /import calls.
List supported sources
Import browse
List tables or collections for a source before you run a full import. Same base URL prefix:http://localhost:3333/api/kiwi.
from (same family as POST /import):
from values return 400 when browse is not implemented for that source.
Import preview
Fetch sample rows without writing pages. Uses the same JSON shape asPOST /import, plus optional limit (default 5, max 20).
Import connections
When a connection store is enabled, the server persists metadata only (never secrets). Re-runs require credentials in the request body.Ingest from files
Convert supported office and document formats to markdown (MarkItDown pipeline).filemust use an extension the server accepts for MarkItDown.split_modedefaults tosingle.
Export
Export your knowledge base in structured formats.string
required
Output format:
jsonl, csv, or parquet.string
Scope export to a subdirectory (e.g.
concepts).string
Comma-separated frontmatter fields to include as columns.
boolean
default:"false"
Include the full markdown body in the export.
boolean
default:"false"
Include outgoing wiki links for each page.
boolean
default:"false"
Include vector embeddings (if available).
integer
Maximum number of pages to export.
JSONL output
Each line is a JSON object representing one page:CSV output
Document export
Render markdown to PDF, HTML, slides, or a static site:Airbyte endpoints
See Airbyte import.