Endpoint
Request body
Output format:
pdf, html, slides, site, or mkdocs.File or directory under the knowledge root to render.
Theme name for HTML/PDF output.
Produce a single-file HTML with embedded assets.
BibTeX path for citations.
Citation style preset:
apa, ieee, chicago, vancouver, or harvard.PDF engine:
typst or xelatex (default: auto-detect).Slide format (Marp).
Static site title (for
site format).Canonical site URL.
Edit-on-GitHub style link for the generated site.
Examples
- CLI
- REST
The response streams the rendered artifact with an appropriate
Content-Type. Large exports may take up to five minutes server-side.MCP
kiwi_export_document accepts the same options for agent-driven publishing workflows.
Format details
PDF (Typst or XeLaTeX)
PDF (Typst or XeLaTeX)
Uses Typst by default for fast compilation. Falls back to XeLaTeX via Pandoc when Typst is unavailable. The web UI also provides in-browser PDF export via a bundled Typst WASM compiler — no server-side tools required.
MkDocs project
MkDocs project
The
mkdocs format generates a complete MkDocs project directory with mkdocs.yml, navigation, and theme configuration. Build the static site with mkdocs build or preview with mkdocs serve.Slides (Marp)
Slides (Marp)
Renders Marp-formatted markdown into HTML, PDF, or PPTX slides. Use
slide_format to control the output type.Static site
Static site
The
site format produces a ready-to-deploy static site as a ZIP archive, with navigation generated from the directory structure.Docker requirement
Related documentation
Export overview
JSONL, CSV, and Parquet export.
Import/export API
REST reference.