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

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

Returns

ResponseField List[Dict[str, Any]]

List of session summary dicts.

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 441


Related Documentation