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

# List Targets • AI Agent SDK

> list_targets: List the targets currently reachable from this runtime.

# list\_targets

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

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

List the targets currently reachable from this runtime.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def list_targets() -> List['TargetInfo']
```

### Returns

<ResponseField name="Returns" type="List['TargetInfo']">
  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#L2567">
  `praisonaiagents/gateway/protocols.py` at line 2567
</Card>
