Skip to Content
Docs

Create an LLM-editable wiki source

POST
/api/sources/wiki

Create an LLM-editable wiki source. No ingestion task is enqueued; pages are authored via the WikiTool. An optional initial_content seeds /index.md and triggers its per-page re-embed.

Personal access token scope: sources:write.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
initial_content?string

Optional markdown seed for /index.md

name*string

Wiki source name

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/sources/wiki' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response200
Empty