Create an AI Index

Server: https://{kibana_url}
  • POST /api/context_engine/ai_index
  • POST /s/{space_id}/api/context_engine/ai_index

Refer to Spaces for more information.

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.

[Required authorization] Route required privileges: contextEngine:write.

Responses