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
Requires
agentBuilder:manageAgents
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.
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Responses
200
application/json
Indicates a successful response