v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
observability_ai_assistant

Generate a chat completion

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/observability_ai_assistant/chat/complete</span></div>

Refer to Spaces for more information.

Create a new chat completion by using the Observability AI Assistant.

The API returns the model's response based on the current conversation context.

It also handles any tool requests within the conversation, which may trigger multiple calls to the underlying large language model (LLM).

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

post/api/observability_ai_assistant/chat/complete

Request body

connectorIdstring required

A unique identifier for the connector.

conversationIdstring

A unique identifier for the conversation if you are continuing an existing conversation.

disableFunctionsboolean

Flag indicating whether all function calls should be disabled for the conversation. If true, no calls to functions will be made.

persistboolean required

Indicates whether the conversation should be saved to storage. If true, the conversation will be saved and will be available in Kibana.

titlestring

A title for the conversation.

Response

Successful response

object required