Create a KnowledgeBase for a resource Base URL https://{kibana_url} POST /api/security_ai_assistant/knowledge_base/{resource} Auth Path 1 parameter Query 2 parameters Responses 2 responses Path Query Responses Expand all Create a knowledge base with a specific resource identifier. Expand all Path parameters resource string required The KnowledgeBase resource value. Example: kb12345 Query parameters modelId string ELSER modelId to use when setting up the Knowledge Base. If not provided, a default model will be used. Example: elser-model-001 ignoreSecurityLabs boolean · default: false Indicates whether we should or should not install Security Labs docs when setting up the Knowledge Base. Defaults to false. Responses 200 Indicates a successful call. application/json success boolean Identify the success of the method execution. 400 Bad Request response. application/json error string A short description of the error. message string A detailed error message. statusCode number The HTTP status code of the error.