Get State • AI Agent SDK
get_state: Get session state.
get_state
Method
</div>
This is a method of the GatewaySessionProtocol class in the protocols module.
Get session state.
Signature
def get_state() -> Dict[str, Any]Returns
ResponseField
Dict[str, Any]The result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 1280