ktm collections get
Use the ktm collections get command to fetch a collection's metadata and breadcrumb path by UID for a specified operator.
Fetch a single collection with its breadcrumb path
Usage
ktm collections get <uid> [flags]
Examples
ktm collections get --operator my-op 8294de2a-ecd9-4202-9169-7d55d1328e22
ktm collections get --operator my-op <uid> -o json | jq '.path'
Arguments
| Argument | Required |
|---|---|
uid | Yes |
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--operator | string | Operator slug (required) |
Details
Returns the collection's metadata (name, parent_uid, org_id, trash_uid) plus its breadcrumb path from the root down to this collection. Useful before a mutation to confirm scope, or to discover the trash UID for cleanup flows.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on