Skip to main content
POST
Render Preview
Renders either a saved page (optionally at a historical revision) or an ad-hoc canonical document you send inline — to html or markdown. Markdown output always carries the machine-readable loss report. Requirements: instructions:read.

Request

Provide exactly one of content or pageId.
string
required
html or markdown.
object
A canonical document envelope to render without saving.
string
A saved page to render.
number
Historical page revision (only with pageId).

Response

string
Echo of the requested format.
string
The rendered document.
object | null
{lossless, format, items} — each item {nodeId, nodeType, reason, severity: "INFO" | "DATA_LOSS"}.