Purge Old • AI Agent SDK
purge_old: Remove old sent messages.
purge_old
Async
Method
</div>
This is a method of the OutboundDeliveryProtocol class in the protocols module.
Remove old sent messages.
Signature
async def purge_old(max_age_seconds: int) -> intParameters
ParamField
intAge threshold for removal
Returns
ResponseField
intNumber of messages purged
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 2115