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-idstringrequired- The unique identifier of the agent.
--[no-]has-warnings- Filter to conversations with or without high-token warnings.
--searchstring- Free-text search filter on conversation title.
--search-afterstring[]- Cursor for pagination. Pass the search_after value from the previous response.
--sizenumber- Number of results per page.
--sort-fieldstring- Field to sort results by.
--sort-orderstring- Sort direction.
--usernamesstring[]- Filter results to conversations by these usernames.
--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