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

# Validate Target • AI Agent SDK

> validate_target: Pre-flight ``target`` against the live channel/route registry.

# validate\_target

Method

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

Pre-flight `target` against the live channel/route registry.

Called at *creation* time (when a scheduled/agent-initiated send is
registered) so an unroutable target is rejected or warned on with an
actionable message, instead of being silently dropped when the job
fires.

## Signature

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

## Parameters

**target** `DeliveryTarget` *required*

No description available.

### Returns

**Returns** `'DeliveryValidation'`

class:`DeliveryValidation` (`ok` / `reason` / `hint` /
`preview`).

## Source

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


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