Create an LLM-editable wiki source
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.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
initial_content?stringOptional markdown seed for /index.md
name*stringWiki source name
Success
curl -X POST 'http://localhost:7091/api/sources/wiki' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Convert an ingested source into a wiki POST
Convert an ingested source into a wiki. A blank source is enabled inline; a source with files runs a conversion task (poll its status for the per-file summary). Write access required (owner/editor). [Personal access token](/API/personal-access-tokens) scope: `sources:write`.
POST /api/sources/{source_id}/graphrag/enable POST
Enable GraphRAG on a source: flips its config to graphrag mode and enqueues graph extraction over its embedded chunks. Requires VECTOR_STORE=pgvector and GRAPHRAG_ENABLED. Write access required (owner/editor). The config kind cannot be set to graphrag via the config PATCH endpoint. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.