agent builder
Get agent consumption data
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/agent_builder/agents/{agent_id}/consumption</span></div>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.<br/><br/>[Required authorization] Route required privileges: agentBuilder:manageAgents.
post/api/agent_builder/agents/{agent_id}/consumption
Path parameters
agent_idstring required
The unique identifier of the agent.
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body
Response
Indicates a successful response