Launches Commands
Launches represent individual test runs in Qualflare, created each time you run qf collect with test results. They record what was tested, when, and against which environment and milestone. The launches commands let you list and inspect launch records from the command line.
qf launches list
List test launches in your project. Results are output as pretty-printed JSON to stdout.
Syntax
bash
qf launches list [flags]Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--milestone | int | 0 | Filter by milestone sequence number |
--environment | string | "" | Filter by environment UID (e.g., prod, staging) |
--page | int | 0 | Page number for paginated results |
--sort-by | string | "" | Field to sort results by (e.g., createdAt, passRate) |
--sort-desc | bool | false | Sort in descending order |
--api-key | string | "" | API key for authentication. Overrides QF_API_KEY environment variable. |
Examples
bash
# List all launches
qf launches list
# Filter launches by milestone
qf launches list --milestone 3
# Filter launches by environment
qf launches list --environment prod
# Combine filters: launches for milestone 3 in staging
qf launches list --milestone 3 --environment staging
# Sort by date, most recent first
qf launches list --sort-by createdAt --sort-desc
# Paginate through results
qf launches list --page 2Example Output
json
{
"launches": [
{
"seq": 88,
"environment": "prod",
"milestoneSeq": 3,
"passed": 104,
"failed": 2,
"skipped": 5,
"total": 111,
"createdAt": "2026-03-28T14:00:00Z"
},
{
"seq": 87,
"environment": "staging",
"milestoneSeq": 3,
"passed": 99,
"failed": 7,
"skipped": 5,
"total": 111,
"createdAt": "2026-03-27T11:30:00Z"
}
]
}qf launch get
Retrieve full details for a single launch by its sequence number.
Syntax
bash
qf launch get <seq>Arguments
| Argument | Description |
|---|---|
seq | The launch's sequence number (visible in the Qualflare UI and launches list output) |
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--api-key | string | "" | API key for authentication. Overrides QF_API_KEY environment variable. |
Examples
bash
# Get details for launch #88
qf launch get 88Example Output
json
{
"seq": 88,
"environment": "prod",
"milestoneSeq": 3,
"branch": "main",
"commit": "a1b2c3d4e5f6",
"passed": 104,
"failed": 2,
"skipped": 5,
"error": 0,
"total": 111,
"createdAt": "2026-03-28T14:00:00Z"
}Working with JSON Output
All launches commands output pretty-printed JSON, making them easy to pipe into jq for filtering and transformation.
bash
# Find the most recent launch (after sorting by date desc)
qf launches list --sort-by createdAt --sort-desc | jq '.launches[0]'
# Filter launches by environment after fetching
qf launches list | jq '[.launches[] | select(.environment == "prod")]'
# Extract pass rate for each launch (passed / total * 100)
qf launches list | jq '.launches[] | {seq, passRate: (.passed / .total * 100 | round)}'
# Find launches with any failures
qf launches list | jq '[.launches[] | select(.failed > 0)] | .[].seq'
# Summarize stats for a specific launch
qf launch get 88 | jq '{total, passed, failed, skipped, passRate: (.passed / .total * 100 | round)}'
# Count launches per environment
qf launches list | jq 'group_by(.environment) | map({env: .[0].environment, count: length})'See Also
- Plans Commands — View the test plans executed in a launch
- Cases Commands — Inspect individual test cases and their states
- Collect Command — Create new launches by uploading test results
- Configuration — Environment variables and global flags reference