---
title: "ktm variables groups list"
description: "List variable groups for a product"
sidebarTitle: "list"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

List variable groups for a product

## Usage

```bash
ktm variables groups list [flags]
```

## Examples

```bash
ktm variables groups list --product acme~web-portal
ktm variables groups list --product acme~web-portal -o table
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--product` | string |  | Product slug (required) |

## Details

List variable groups (environment configurations) for a single product.

The CLI mirrors the web UI's per-product scoping: there is intentionally no
operator-wide aggregation — that would surface groups across products the
caller may not have UI access to, and the platform's permission gating on
cross-product listing isn't independently verified.

Archived groups are filtered out (matching the web UI).

## Related

- [`ktm variables groups`](/cli/commands/variables/groups)

<Note>
  Global flags (`--output`, `--debug`, `--host`, …) apply to every command. See the [command reference overview](/cli/commands/overview).
</Note>

## What's next?

<Columns cols={2}>
  <Card title="All commands" icon="terminal" href="/cli/commands/overview">
    Browse the full CLI reference.
  </Card>
  <Card title="Get started" icon="rocket" href="/cli/getting-started">
    Install the CLI and authenticate.
  </Card>
</Columns>
