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-idstringrequired- The unique identifier of the conversation.
--datastringrequired--typestringrequired- The type of the attachment (e.g., text, esql, visualization).
--descriptionstring- Human-readable description of the attachment.
- Whether the attachment should be hidden from the user.
--idstring- Optional custom ID for the attachment.
--originstring- Origin string (for example, saved object ID) for by-reference attachments. When provided without data, the content is resolved once at creation time.
--input-filestring- 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