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.

ParameterDescription
suitexfstests or ltp
fsFilesystem (exact match: xfs, ext4, …)
distroDistribution name
distro_versionDistribution version
archArchitecture (x86_64, aarch64, …)
kernelKernel version (exact match)
config_keyConfiguration key
sinceRFC 3339 start bound (inclusive)
untilRFC 3339 end bound (inclusive)
limitMax matching runs (default 2000, max 10000)
min_passMinimum pass count
max_passMaximum pass count
min_failMinimum fail count
max_failMaximum fail count
min_skipMinimum skip count
min_brokenMinimum broken count

Example: /api/runs?suite=xfstests&fs=xfs&min_fail=1

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.

ParameterDescription
qTest ID prefix (required). Example: generic/, xfs/62
limitMax 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.).

Example: /api/tests/xfs/623/history?suite=xfstests&fs=xfs

Comparison

GET /api/diff

Two-run diff: added, removed, and changed test verdicts.

ParameterDescription
fromRun ID (required)
toRun ID (required)

Flags suite version mismatch when test sets differ between versions.

GET /api/matrix

Test verdict matrix grid.

ParameterDescription
columnslatest (one per config, default) or all (one per run)
afterPagination cursor (test ID)
rowsPage size (default 200)
non_pass_onlytrue 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.

ParameterDescription
suiteSuite (default xfstests)
test_idTest ID (generic/007)
targetComma-separated targets to consult
limitMax 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.

ParameterDescription
startkeyJSON-encoded start key
endkeyJSON-encoded end key
keyJSON-encoded exact key
limitMax rows (default 200, max 1000)
skipRows to skip
descendingtrue for reverse order
reducetrue to run reduce function
group_levelGrouping depth for reduce
include_docstrue 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

Example: /api/views/failures/failures?startkey=["xfstests","xfs","xfs/609"]&endkey=["xfstests","xfs","xfs/609￰"]

System

GET /healthz

Health check. Touches the database — reports whether storage is reachable.

GET /api/sync

Git sync state: cursors, last poll, import failure count, cache stats.

GET /api/import-failures

All import failures with tarball name, reason, and git coordinates.