Create conversation attachment

Base URL
https://{kibana_url}
Auth

Create a new attachment for a conversation with version tracking.

Required 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 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

Human-readable description of the attachment.

hidden boolean

Whether the attachment should be hidden from the user.

id string

Optional custom ID for the attachment.

origin string

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

type string required

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

Responses

200

Indicates a successful response

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