k6 cloud lists projects with `k6 cloud project list`
Introduced 2026-05-11 · score 0.95
HOW TO USE IT
When inspecting Grafana Cloud k6 projects, run `k6 cloud project list`; add `--json` for a JSON array. The command lists projects in the configured stack.
k6 cloud project listk6 cloud project list --jsonWHY THIS HELPS
Inspect Grafana Cloud k6 projects while maintaining a test repository or workflow.
REQUIREMENTS AND LIMITATIONS
- Version: v2.0.0
- --json: Output the project list as a JSON array; without it, output is a human-readable table.
- Prerequisite: Every `k6 cloud` subcommand requires an API token and a configured stack. Authenticate with `k6 cloud login`, or set `K6_CLOUD_TOKEN` and `K6_CLOUD_STACK_ID`.
- The output supports human-readable table and JSON formats.
- Docs conflict: Card and release note say `--format=json`; official documentation says the flag is `--json`. The documentation’s newer version label is v2.3.x.
FIRST-PARTY EVIDENCE
- https://github.com/grafana/k6/releases/tag/v2.0.0
- https://grafana.com/docs/k6/latest/reference/cloud-commands/
Check the installed version and the source before using it. Entry JSON