Create conversation attachment

Base URL
https://{kibana_url}
Auth

Create a new attachment for a conversation with version tracking.

Required authorization

Privileges agentBuilder:read

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

conversation_id string · max length: 256 required

The unique identifier of the conversation.

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Request body

data object required

The attachment data/content. Required unless origin is provided.

description string · max length: 2048

Human-readable description of the attachment.

hidden boolean

Whether the attachment should be hidden from the user.

id string · max length: 256

Optional custom ID for the attachment.

origin string · max length: 2048

Origin string (for example, saved object ID) for by-reference attachments. When provided without data, the content is resolved once at creation time.

render_inline boolean · default: false

When true, the attachment is rendered inline in the UI when the conversation is opened, without the agent referencing it.

type string · max length: 256 required

The type of the attachment (e.g., text, esql, visualization).

Response

200

Indicates a successful response

application/json
Base URL
https://{kibana_url}