Create a Knowledge Base
UsePOST /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.
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:

