Loading

stack kb agent-builder post-agent-builder-conversations-conversation-id-attachments cli command

Auth required
elastic stack kb agent-builder post-agent-builder-conversations-conversation-id-attachments \
  --conversation-id <conversation-id> \
  --data <data> \
  --type <type> \
  [options]
		

Create conversation attachment

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--conversation-id string required
The unique identifier of the conversation.
--data string required
--type string required
The type of the attachment (e.g., text, esql, visualization).
--description string
Human-readable description of the attachment.
--[no-]hidden
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.
--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON