Reindex all pages in the active search engine to restore search results after switching from the basic search engine. Run once to populate the new empty index.
Manages hierarchical documentation in Wiki.js with tools for creating, updating, searching, and organizing pages, supporting multi-repository workflows and Docker deployment.
Read a Wiki.js page by ID or path/locale, returning metadata, outline, content, or rendered HTML. For long pages, use sections or offset/max_chars to fetch parts.
Find wiki pages by full-text query. Be aware: on the default Wiki.js engine only titles and descriptions are indexed; if you need to search inside page text, use grep_pages instead. Results show no excerpt - pair with get_page for details.
Search the full text of Wiki.js pages using regular expressions. Returns matching lines with context, solving the default search engine's lack of content indexing.
Create a new Wiki.js page by supplying a unique path, title, content, and editor format. Select the editor to define how the content is stored, such as markdown or HTML.
Update a wiki page by replacing its body or applying exact find-and-replace edits; it detects concurrent changes and refuses to overwrite unless forced.
Convert a Wiki.js page's storage format to correct a page created with the wrong editor. Choose markdown, ckeditor, code, or asciidoc; body content remains untranslated.
Replace a Wiki.js group's name, permissions, page rules, and login redirect in one operation. Requires a confirmation token to apply changes that control wiki access.
Check whether API access is enabled and list all API keys with their expiry and revocation status. Since secrets are never returned, this provides visibility without exposing credentials.
Rebuilds the navigation tree by recomputing folder structure from page paths. Fixes mismatches after bulk imports or database edits without altering page content.