Endpoints
All endpoints are read-only and return JSON. No authentication required.
Runs
GET /api/runs
List run summaries. Newest first. truncated is true when
older matching runs were not scanned because of limit.
| Parameter | Description |
|---|---|
suite | xfstests or ltp |
fs | Filesystem (exact match: xfs, ext4, …) |
distro | Distribution name |
distro_version | Distribution version |
arch | Architecture (x86_64, aarch64, …) |
kernel | Kernel version (exact match) |
config_key | Configuration key |
since | RFC 3339 start bound (inclusive) |
until | RFC 3339 end bound (inclusive) |
limit | Max matching runs (default 2000, max 10000) |
min_pass | Minimum pass count |
max_pass | Maximum pass count |
min_fail | Minimum fail count |
max_fail | Maximum fail count |
min_skip | Minimum skip count |
min_broken | Minimum broken count |
GET /api/runs/{run_id}
Full run document including all test results (pass, fail, skip, broken, warn).
GET /api/runs/{run_id}/results/{test_id}/streams/{name}
Raw payload stream for a test. Stream names: outdiff, outbad, full, dmesg.
Tests
GET /api/tests/search
Search tests by ID prefix. Returns test IDs with non-pass verdict counts.
| Parameter | Description |
|---|---|
q | Test ID prefix (required). Example: generic/, xfs/62 |
limit | Max results (default 200, max 1000) |
Example: /api/tests/search?q=xfs/6
GET /api/tests/{group}/{number}/history
Verdict history for one test across matching runs.
Accepts the same filter parameters as /api/runs (suite, fs, kernel, etc.).
Comparison
GET /api/diff
Two-run diff: added, removed, and changed test verdicts.
| Parameter | Description |
|---|---|
from | Run ID (required) |
to | Run ID (required) |
Flags suite version mismatch when test sets differ between versions.
GET /api/matrix
Test verdict matrix grid.
| Parameter | Description |
|---|---|
columns | latest (one per config, default) or all (one per run) |
after | Pagination cursor (test ID) |
rows | Page size (default 200) |
non_pass_only | true to hide all-pass rows |
Also accepts the standard filter parameters (suite, fs, kernel, etc.).
Known Issues
GET /api/ki/issues
Known-issue definitions. Without test_id, lists stored definition IDs.
| Parameter | Description |
|---|---|
suite | Suite (default xfstests) |
test_id | Test ID (generic/007) |
target | Comma-separated targets to consult |
limit | Max IDs when listing |
GET /api/ki/{run_id}
Known/unknown failure split for one run. Computed and cached per (run, known-issues commit).
Views
GET /api/views/{design}/{view}
Proxy to CouchDB views. Only allowed views are accessible.
| Parameter | Description |
|---|---|
startkey | JSON-encoded start key |
endkey | JSON-encoded end key |
key | JSON-encoded exact key |
limit | Max rows (default 200, max 1000) |
skip | Rows to skip |
descending | true for reverse order |
reduce | true to run reduce function |
group_level | Grouping depth for reduce |
include_docs | true to include full documents |
Available views:
results_by_test— non-pass results keyed by[test_id, config_key]runs_by_time— run summaries keyed by[suite, start]runs_by_config— runs keyed by[config_key, start]failures— fail/broken results keyed by[suite, filesystem, test_id]runs_by_parser_version— runs keyed by parser version number