Get Session • AI Agent SDK
get_session: Get a session by ID.
get_session
Method
</div>
This is a method of the GatewayProtocol class in the protocols module.
Get a session by ID.
Signature
def get_session(session_id: str) -> Optional[GatewaySessionProtocol]Parameters
ParamField
strNo description available.
Returns
ResponseField
Optional[GatewaySessionProtocol]The result of the operation.
Used By
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 1427