Endpoint
Request body
string
required
Output format:
pdf, html, slides, site, or mkdocs.string
required
File or directory under the knowledge root to render.
string
Theme name for HTML/PDF output.
boolean
default:"false"
Produce a single-file HTML with embedded assets.
string
BibTeX path for citations.
string
Citation style preset:
apa, ieee, chicago, vancouver, or harvard.string
PDF engine:
typst or xelatex (default: auto-detect).string
Slide format (Marp).
string
Static site title (for
site format).string
Canonical site URL.
string
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.