List Sessions • AI Agent SDK
list_sessions: List sessions for the current agent.
list_sessions
Method
</div>
This is a method of the ManagedBackendProtocol class in the protocols module.
List sessions for the current agent.
Signature
def list_sessions() -> List[Dict[str, Any]]Returns
ResponseField
List[Dict[str, Any]]List of session summary dicts.
Source
View on GitHubpraisonaiagents/agent/protocols.py at line 441