stack kb security-ai-assistant-api create-conversation cli command
Auth required
elastic stack kb security-ai-assistant-api create-conversation \
--title <title> \
[options]
Create a conversation
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--titlestringrequired- The conversation title.
--api-configstring- LLM API configuration.
--categoryenum-
The conversation category.
Values: assistant, insights
--exclude-from-last-conversation-storage- Exclude from last conversation storage.
--idstring- The conversation id.
--messagesstring[]-
The conversation messages.
Repeatable: pass
--messagesmultiple times to supply more than one value --replacementsstring--input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON