> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Purge Acknowledged • AI Agent SDK

> purge_acknowledged: Remove old acknowledged messages from the store.

# purge\_acknowledged

AsyncMethod

> This is a method of the [**DeliveryGuaranteeProtocol**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/DeliveryGuaranteeProtocol.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

Remove old acknowledged messages from the store.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def purge_acknowledged(max_age_seconds: int) -> int
```

## Parameters

**max\_age\_seconds** `int` (default: 86400)

No description available.

### Returns

**Returns** `int`

Number of messages purged

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L1998)
>
> `praisonaiagents/gateway/protocols.py` at line 1998

***

## Related Documentation

> [card] [Knowledge Concept](https://praison.ai/docs/docs/concepts/knowledge)

> [card] [Knowledge Overview](https://praison.ai/docs/docs/knowledge/overview)

> [card] [Knowledge Configuration](https://praison.ai/docs/docs/configuration/knowledge-config)

> [card] [Chat with PDF](https://praison.ai/docs/docs/knowledge/chat-with-pdf)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.