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

# insights category list

> List intent categories for an Alpic environment

List the intent categories of an environment, including how many intents each category is linked to.

## Usage

```bash theme={null}
alpic insights category list
```

Lists categories for the environment in the local `.alpic` configuration.

## Extended Usage

Select an environment by ID:

```bash theme={null}
alpic insights category list --environment-id <environmentId>
```

Select an environment by name within a project:

```bash theme={null}
alpic insights category list --project-name my-project --environment-name production
```

Emit the complete API response for automation:

```bash theme={null}
alpic insights category list --environment-id <environmentId> --json --non-interactive
```

## Options

| Flag                 | Description                               | Default |
| -------------------- | ----------------------------------------- | ------- |
| `--environment-id`   | Select an environment by ID               |         |
| `--environment-name` | Select an environment by name             |         |
| `--project-id`       | Provide the project context by ID         |         |
| `--project-name`     | Provide the project context by name       |         |
| `--json`             | Print the unmodified API response as JSON | `false` |
| `--non-interactive`  | Skip interactive prompts                  |         |

<Tip>When the current directory is linked to an environment, the environment and project flags can be omitted.</Tip>
