Spaces method and path for this operation:
post /s/{space_id}/api/security_ai_assistant/knowledge_base/{resource}
Refer to Spaces for more information.
Create a knowledge base with a specific resource identifier.
POST
/api/security_ai_assistant/knowledge_base/{resource}
curl \
--request POST 'https://localhost:5601/api/security_ai_assistant/knowledge_base/kb12345' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"success": true
}
Response examples (400)
statusCode: 400 error: Bad Request message: "[request query]: ignoreSecurityLabs: Invalid enum value. Expected 'true' | 'false', received 'yes', ignoreSecurityLabs: Expected boolean, received string"