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
Refer to Spaces for more information.
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.
Required authorization
- Privileges agentBuilder:manageAgents
Response
200
application/json
Indicates a successful response