Get Session • Rust AI Agent SDK

get_session: Get a session by ID.

get_session

Method

</div>

This is a method of the GatewayProtocol class in the gateway module.

Get a session by ID.

Signature

python
def get_session(&self, session_id: &str) -> Option<&dyn GatewaySessionProtocol>

Parameters

ParamField &str

No description available.


Related Documentation