Get Stats • AI Agent SDK
get_stats: Get current context statistics.
get_stats
Method
</div>
This is a method of the ContextManager class in the manager module.
Get current context statistics.
Signature
def get_stats() -> Dict[str, Any]Returns
ResponseField
Dict[str, Any]The result of the operation.
Uses
to_dictget_utilizationget_warningsget_stats
Used By
ContextManager.get_statsMultiAgentContextManager.get_combined_statsMultiAgentContextManager.get_combined_stats
Source
View on GitHubpraisonaiagents/context/manager.py at line 804