Get agent consumption data
- Base URL
-
https://{kibana_url}
- POST /api/agent_builder/agents/{agent_id}/consumption
- POST /s/{space_id}/api/agent_builder/agents/{agent_id}/consumption
https://{kibana_url}
Returns paginated, per-conversation token consumption data for a given agent. Includes input/output token counts, round counts, LLM call counts, and warnings for conversations with high token usage. Requires the manageAgents privilege. To learn more about monitoring agent token usage, refer to the monitor usage documentation.
agentBuilder:manageAgents
space_id
string
optional
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
Indicates a successful response
https://{kibana_url}