Create a new knowledge base (max 15 knowledge bases per location)
POST/knowledge-bases/
Creates a new knowledge base for a location (maximum 15 per location). WHEN TO USE: use this when you need to add a brand-new knowledge source; use updateKnowledgeBase to rename one; use create (FAQs) or trainDiscoveredUrls to add content. RETURNS: success and the created knowledge base, including its server-assigned id.
Request
Version stringrequired
API Version
Available options
v3- application/json
- Body
- Example (auto)
Bodyrequired
namestringrequired
Name of the knowledge base
descriptionstring
Optional description of the knowledge base
locationIdstringrequired
The location ID this knowledge base belongs to
{
"name": "My Knowledge Base",
"description": "A knowledge base for customer support FAQs",
"locationId": "qIyivCmsuEOSnyoFYEej"
}
Knowledge base created successfully
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Success status of the operation
dataobjectrequired
Created knowledge base details
{
"success": true,
"data": {}
}