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

--fields string[]

List of specific fields to include in each returned prompt.

Repeatable: pass --fields multiple times to supply more than one value

--filter string
Search query string to filter prompts by matching fields.
--sort-field enum

Field to sort prompts by.

Values: created_at, is_default, name, updated_at

--sort-order enum

Sort order, either asc or desc.

Values: asc, desc

--page number
Page number for pagination.
--per-page number
Number of prompts per page.
--input-file string
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