# targets

> For AI agents: the complete documentation index is at https://buddy.works/llms.txt

## Usage

```bash
bdy yaml targets [options] [command]
```

Browse Buddy YAML target types

## Options

| **Option** | **Description** |
| :--- | :--- |
| `--context <name>` | Connection and scope context: default, git, link or a saved name. Overrides the globally active context for this invocation. |
| `--examples` | Show only examples; with this flag --format accepts text, json or jsonl |
| `--verbose` | Show REST API requests, responses, timing and retries on stderr |
| `-h, --help` | display help for command |

## Available Commands

| **Command** | **Description** |
| :--- | :--- |
| [info](https://buddy.works/docs/cli/yaml/targets/info.md) | Show target schema and examples for a type |
| [list](https://buddy.works/docs/cli/yaml/targets/list.md) | List all target types |

Documentation for bdy v1.26.5

## Examples

### List all target types

```bash
bdy yaml targets list
```

### Search target types

```bash
bdy yaml targets list --search kubernetes
```

### List as json

```bash
bdy yaml targets list --format json
```

### Show target schema and examples

```bash
bdy yaml targets info SSH
```

### The same schema as json

```bash
bdy yaml targets info SSH --format json
```


---
Original source: https://buddy.works/docs/cli/yaml/targets