Open miltonhultgren opened 1 month ago
Pinging @elastic/obs-knowledge-team (Team:obs-knowledge)
Related to this is the question if we should keep storing user instructions in the Knowledge base at all, or perhaps we would prefer to migrate to using Kibana Saved Objects to remove this hard dependency, that would mean we don't have to expose these endpoints as public APIs.
While working on the User Instructions feature I've added checks that reject requests if the Knowledge base isn't ready. This highlighted to me that if we expect users to automate workflows they'll need a way to install the Knowledge base via API, hence we should expose the current
POST /internal/observability_ai_assistant/kb/setup
andGET /internal/observability_ai_assistant/kb/status
routes as part of the public API.We'll also need to ensure we have sufficient API tests in place to support this, as well as create Open API specs to document these APIs.