---
title: "ktm collections create"
description: "Learn how to use the ktm collections create command to add a new sub-collection under a specified parent collection UID."
sidebarTitle: "create"
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 */}

Create a new sub-collection under --parent

## Usage

```bash
ktm collections create [flags]
```

## Examples

```bash
ktm collections create --operator my-op --parent <parent_uid> --name "Auth regression"
ktm collections create --operator my-op --parent <tests_root> --name "Smoke" -o json | jq .uid
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--name` | string |  | Name for the new collection (required) |
| `--operator` | string |  | Operator slug (required) |
| `--parent` | string |  | Parent collection UID (required) |

## Details

Create a collection as a child of --parent. Both operator and parent
UID are required; the new collection inherits the operator's org_id.

## Related

- [`ktm collections`](/cli/commands/collections)

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