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

# Mark Sent • AI Agent SDK

> mark_sent: Mark a message as successfully sent.

# mark\_sent

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**OutboundDeliveryProtocol**](../classes/OutboundDeliveryProtocol) class in the [**protocols**](../modules/protocols) module.

Mark a message as successfully sent.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def mark_sent(key: str) -> bool
```

## Parameters

<ParamField query="key" type="str" required={true}>
  The entry key returned by enqueue()
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  True if marked successfully, False if not found
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L1499">
  `praisonaiagents/gateway/protocols.py` at line 1499
</Card>
