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

# Preview Target • AI Agent SDK

> preview_target: Return a dry-run preview of where ``target`` will deliver.

# preview\_target

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

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

Return a dry-run preview of where `target` will deliver.

A short, display-only string (e.g. `"telegram:@alice (session
main)"`) so the creator sees the destination before commit.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def preview_target(target: 'DeliveryTarget') -> str
```

## Parameters

<ParamField query="target" type="DeliveryTarget" required={true}>
  No description available.
</ParamField>

### Returns

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

## Source

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