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

python
def get_session(session_id: str) -> Optional[GatewaySessionProtocol]

Parameters

ParamField str

No description available.

Returns

ResponseField Optional[GatewaySessionProtocol]

The result of the operation.

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1427


Related Documentation