Skip to main content
A Truedy Knowledge Base is a Knowledge Space backed by Truedy’s native RAG infrastructure. There is one resource model, one folder for sources, and one set of source-processing rules.

Create a Knowledge Base

Use POST /api/public/v1/knowledge-spaces. The compatibility /api/public/v1/knowledge-bases URL maps to the same operation, but new code should use the canonical Knowledge Spaces name.
The returned data.id is the space ID. Add documents, text, URLs, or sitemaps through the Knowledge Spaces API, then reference the space from an agent with:
There is no separate legacy corpus created by this flow. Existing legacy data is not migrated automatically; migrate it by creating a new space and adding its sources to the native infrastructure.