Get Messages • AI Agent SDK
get_messages: Get session message history.
get_messages
Method
</div>
This is a method of the GatewaySessionProtocol class in the protocols module.
Get session message history.
Signature
def get_messages(limit: Optional[int]) -> List[GatewayMessage]Parameters
ParamField
Optional[int]No description available.
Returns
ResponseField
List[GatewayMessage]The result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 1292