API

Wiki search and read API.

Discovery

Search & read

  • GET /api/v1/search?q=…&locale=en
  • GET /api/v1/pages/{id}?locale=en
  • GET /api/v1/pages/by-path?path=/bazi/…&locale=en
  • GET /api/v1/entities?locale=en

Systems & works

  • GET /api/v1/systems/{system}?locale=en
  • GET /api/v1/works?locale=en
  • GET /api/v1/works/{workId}/chapters?locale=en
  • GET /api/v1/graph?id=…&locale=en

Markdown mirrors

Append .md to any content URL (with locale prefix) for the Markdown source. /en/bazi/shishen/zhengguan.md

Response conventions

JSON knowledge responses include a provenance header (source, domains, knowledge version). See apps/wiki/docs/API_CONTRACT.md.

Try it