Skip to main content
Publishing marks a page with published: true and published_at in frontmatter. Published pages are readable at /p/{path} without API authentication.

Publish a page

string
required
File path to publish.
Response
published_at is set only on first publish. Later republish calls preserve the original timestamp.

Bulk publish

Publish multiple pages in a single request.
string[]
required
Array of file paths to publish.
Response

Unpublish

string
required
File path to unpublish.
Sets published: false but keeps published_at for history.

Bulk unpublish

string[]
required
Array of file paths to unpublish.

List published pages

Returns all currently published pages.
Response

Publish status

string
required
File path to check.
Response
integer
Included when publish metrics tracking is enabled on the server.

Read published pages

No API key required:

Public visibility (alternative model)

Separate from per-page publish flags, mark pages with visibility: public in frontmatter:
Non-public pages return 404 to avoid leaking existence.

Web UI

Publish toggle in the page header.

Utilities API

Share links and public routes.
Last modified on May 31, 2026