Create conversation attachment
Server:
https://{kibana_url}
- POST /api/agent_builder/conversations/{conversation_id}/attachments
Create a new attachment for a conversation with version tracking.
[Required authorization] Route required privileges: agentBuilder:read.
Path Parameters
-
conversation_idstring · max: 256required -
The unique identifier of the conversation.
Request
-
dataobjectrequired -
The attachment data/content. Required unless origin is provided.
-
descriptionstring · max: 2048 -
Human-readable description of the attachment.
-
Whether the attachment should be hidden from the user.
-
idstring · max: 256 -
Optional custom ID for the attachment.
-
originstring · max: 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_inlineboolean · default: false -
When true, the attachment is rendered inline in the UI when the conversation is opened, without the agent referencing it.
-
typestring · max: 256required -
The type of the attachment (e.g., text, esql, visualization).
Response
200
application/json
Indicates a successful response