For AI agents: a documentation index is available at https://www.elastic.co/docs/api/doc/kibana/v8/llms.txt.
Markdown versions of each page are available by sending an Accept: text/markdown header,
or by appending .md to the page URL.
POST
/api/security_ai_assistant/knowledge_base/entries
curl \
--request POST 'https://localhost:5601/api/security_ai_assistant/knowledge_base/entries' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"content": "To reset your password, go to the settings page and click 'Reset Password'.",
"tags": [
"password",
"reset",
"help"
],
"title": "How to reset a password"
}'
Request example
{
"content": "To reset your password, go to the settings page and click 'Reset Password'.",
"tags": [
"password",
"reset",
"help"
],
"title": "How to reset a password"
}
Response examples (200)
{
"content": "To reset your password, go to the settings page and click 'Reset Password'.",
"id": "12345",
"tags": [
"password",
"reset",
"help"
],
"title": "How to reset a password"
}
Response examples (400)
{
"error": "Invalid input",
"message": "The 'title' field is required."
}