stack kb agent-builder post-agent-builder-agents-agent-id-consumption cli command

Auth required
elastic stack kb agent-builder post-agent-builder-agents-agent-id-consumption \
  --agent-id <agent-id> \
  [options]
		

Get agent consumption data

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--agent-id string required
The unique identifier of the agent.
--has-warnings
Filter to conversations with or without high-token warnings.
Free-text search filter on conversation title.
--search-after string[]

Cursor for pagination. Pass the search_after value from the previous response.

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

--size number
Number of results per page.
--sort-field enum

Field to sort results by.

Values: updated_at, total_tokens, round_count

--sort-order enum

Sort direction.

Values: asc, desc

--usernames string[]

Filter results to conversations by these usernames.

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

--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