Create a KnowledgeBase
Create a KnowledgeBase
Path parameters
-
resource
string The KnowledgeBase
resource
value.
Query parameters
-
modelId
string Optional ELSER modelId to use when setting up the Knowledge Base
-
ignoreSecurityLabs
boolean Indicates whether we should or should not install Security Labs docs when setting up the Knowledge Base
Default value is
false
.
POST
/api/security_ai_assistant/knowledge_base/{resource}
curl \
--request POST 'http://localhost:5622/api/security_ai_assistant/knowledge_base/{resource}' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"success": true
}
Response examples (400)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}