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.
Repeatable: pass
--fieldsmultiple times to supply more than one value --filterstring- Search query string to filter prompts by matching fields.
--sort-fieldenum-
Field to sort prompts by.
Values: created_at, is_default, name, updated_at
--sort-orderenum-
Sort order, either asc or desc.
Values: asc, 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
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON