Create an AI Index
- Base URL
-
https://{kibana_url}
- POST /api/context_engine/ai_index
- POST /s/{space_id}/api/context_engine/ai_index
Creates an AI Index record attached to a data stream or index. Fails with a 409 if an AI Index with the same ID already exists.
Returns a 404 response when Context Engine is turned off in this space (contextEngine:enabled).
For more information, refer to the Context Engine documentation.
Responses
The request was invalid, for example a malformed dest, an invalid ES|QL source, or an unresolvable connector source or trace.
Elasticsearch denied the index trace lookup outright; the caller lacks index privileges for it.
Context Engine is turned off in this space.