stack kb security-ai-assistant-api find-prompts cli command
Auth required
Idempotent
Scope: global
elastic stack kb security-ai-assistant-api find-prompts [options]
Get prompts
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--fieldsstring- List of specific fields to include in each returned prompt.
--filterstring- Search query string to filter prompts by matching fields.
--sort-fieldstring- Field to sort prompts by.
--sort-orderstring- Sort order, either asc or desc.
--pagenumber- Page number for pagination.
--per-pagenumber- Number of prompts per page.
--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