Get Token Usage Summary • AI Agent SDK

get_token_usage_summary: Get a summary of token usage across this team's agents and tasks.

get_token_usage_summary

Method

</div>

This is a method of the AgentTeam class in the agents module.

Get a summary of token usage across this team’s agents and tasks.

Signature

python
def get_token_usage_summary() -> Dict[str, Any]

Returns

ResponseField Dict[str, Any]

The result of the operation.

Source

View on GitHub

praisonaiagents/agents/agents.py at line 3608