lookup • AI Agent SDK
lookup: Look up the principal bound to a session.
lookup
Method
</div>
This is a method of the SessionBindingProtocol class in the protocols module.
Look up the principal bound to a session.
Signature
def lookup(session_id: str) -> Optional[Dict[str, Any]]Parameters
ParamField
strSession identifier to look up
Returns
ResponseField
Optional[Dict[str, Any]]Principal information if found, None otherwise
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 3162