> ## 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.

# Store Message • AI Agent SDK

> store_message: Persist a message to the store.

# store\_message

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.

Persist a message to the store.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def store_message(event: GatewayEvent) -> str
```

## Parameters

**event** `GatewayEvent` *required*

No description available.

### Returns

**Returns** `str`

The event\_id of the stored message

## Source

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


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