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

# status • AI Agent SDK

> status: Closed, branchable delivery outcome for the send contract.

# status

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

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

Closed, branchable delivery outcome for the send contract.

One of `"sent"` / `"failed"` / `"queued"` / `"duplicate"`,
derived from the existing flags so a caller of `BotProtocol`'s
`send_message` can branch on the outcome without exception-handling
(a swallowed exception would otherwise be a silent drop). `queued`
(persisted to a durable outbox) and `duplicate` (crash-recovered
possible re-send) take precedence over the bare `ok` flag.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def status() -> SendStatus
```

### Returns

<ResponseField name="Returns" type="SendStatus">
  The result of the operation.
</ResponseField>

## Used By

* [`VideoAgent.wait_for_completion`](../functions/VideoAgent-wait_for_completion)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/bots/base.py#L296">
  `praisonaiagents/bots/base.py` at line 296
</Card>
