> ## Documentation Index
> Fetch the complete documentation index at: https://gtmsdk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gtm exa

> Command reference for gtm exa — Search the web via Exa. Generated from the CLI help text.

Search the web via Exa.

Every command follows the [CLI contract](/concepts/cli-contract): JSON on stdout, errors on stderr, and command-specific mutation safety controls. Keys resolve as described in [Secrets and API keys](/secrets).

## Commands

### `gtm exa search`

Search the web via Exa.

```bash theme={"system"}
uv run gtm exa search [OPTIONS] [QUERY]
```

| Argument | Type | Required |
| -------- | ---- | -------- |
| `QUERY`  | text | no       |

| Option                          | Type    | Default | Description                                                       |
| ------------------------------- | ------- | ------- | ----------------------------------------------------------------- |
| `--type`                        | text    | `auto`  | Search type: auto, fast, instant, deep-lite, deep, deep-reasoning |
| `--category`                    | text    | —       | Search category (e.g. company, people)                            |
| `--num-results`                 | integer | `10`    | Number of results (1-100)                                         |
| `--include-domains`             | text    | —       | Comma-separated domains to include                                |
| `--exclude-domains`             | text    | —       | Comma-separated domains to exclude                                |
| `--highlights, --no-highlights` | boolean | `true`  | Include highlight snippets in each result                         |
| `--summary, --no-summary`       | boolean | `false` | Include an LLM-generated summary per result                       |
| `--output-schema-json`          | text    | —       | JSON schema for structured output                                 |
| `--json`                        | text    | —       | Full JSON payload (overrides flags)                               |
| `--exa-api-key`                 | text    | —       | Override the Exa API key for this invocation                      |

### `gtm exa find-companies`

Find companies by query via Exa.

```bash theme={"system"}
uv run gtm exa find-companies [OPTIONS] [QUERY]
```

| Argument | Type | Required |
| -------- | ---- | -------- |
| `QUERY`  | text | no       |

| Option                          | Type    | Default | Description                                  |
| ------------------------------- | ------- | ------- | -------------------------------------------- |
| `--num-results`                 | integer | `5`     | Number of results                            |
| `--highlights, --no-highlights` | boolean | `true`  | Include highlight snippets in each result    |
| `--output-schema-json`          | text    | —       | JSON schema for structured output            |
| `--json`                        | text    | —       | Full JSON payload (overrides flags)          |
| `--exa-api-key`                 | text    | —       | Override the Exa API key for this invocation |

### `gtm exa find-people`

Find people by query via Exa.

```bash theme={"system"}
uv run gtm exa find-people [OPTIONS] [QUERY]
```

| Argument | Type | Required |
| -------- | ---- | -------- |
| `QUERY`  | text | no       |

| Option                          | Type    | Default | Description                                  |
| ------------------------------- | ------- | ------- | -------------------------------------------- |
| `--num-results`                 | integer | `5`     | Number of results                            |
| `--highlights, --no-highlights` | boolean | `true`  | Include highlight snippets in each result    |
| `--json`                        | text    | —       | Full JSON payload (overrides flags)          |
| `--exa-api-key`                 | text    | —       | Override the Exa API key for this invocation |


## Related topics

- [CLI overview](/cli/index.md)
- [gtm-sdk: Go-To-Market SDK and CLI for Modal](/index.md)
- [gtm parallel](/cli/parallel.md)
- [gtm accounts](/cli/accounts.md)
- [gtm attio](/cli/attio.md)
