Get Detailed Token Report • AI Agent SDK

get_detailed_token_report: Get a detailed token usage report.

get_detailed_token_report

Method

</div>

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

Get a detailed token usage report.

Signature

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

Returns

ResponseField Dict[str, Any]

The result of the operation.

Uses

  • get_recent_interactions
  • get_token_collector

Source

View on GitHub

praisonaiagents/agents/agents.py at line 3615