context engine

Create or update an AI Index

Spaces method and path for this operation:

<div><span class="operation-verb put">put</span>&nbsp;<span class="operation-path">/s/{space_id}/api/context_engine/ai_index/{aiIndexId}</span></div>

Refer to Spaces for more information.

Creates an AI Index with the given ID, or replaces an existing one. The request body replaces the whole record: omitted fields are removed, and omitted arrays become empty. A managed AI Index cannot be replaced and returns a 409.

Returns a 404 response when Context Engine is turned off in this space (contextEngine:enabled).

For more information, refer to the Context Engine documentation.<br/><br/>[Required authorization] Route required privileges: contextEngine:write.

put/api/context_engine/ai_index/{aiIndexId}

Path parameters

aiIndexIdstring required

The unique identifier of the AI Index.

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

descriptionstring

Human-readable description of the AI Index.

Response

The AI Index was updated.

status'updated' required

Changes

No changes recorded. 38 of the 194 revisions have no diff computed, so they could not be searched.