ktm collections items
Learn how to use the ktm collections items command to list paginated tests and dashboards inside a specified collection.
List items (tests + dashboards) inside a collection
Usage
ktm collections items <uid> [flags]
Examples
ktm collections items --operator my-op 8294de2a-ecd9-4202-9169-7d55d1328e22
ktm collections items --operator my-op <uid> -o json | jq '.[].meta.name'
ktm collections items --operator my-op <uid> --page-size 10 --page 2
Arguments
| Argument | Required |
|---|---|
uid | Yes |
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--operator | string | Operator slug (required) | |
--page | int | Page number | |
--page-size | int | Items per page (default: 25) |
Details
Paginated list of items directly inside the collection (sub-collections are NOT included — use 'ktm collections list' for those). Items are tests, reusable_tests, or dashboards; human-readable name / status come from each item's meta blob.
The platform defaults sort_by=updated_at order=desc when the client doesn't specify; this matches the web UI.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on