Tests
List disruptive (flaky) tests for a repository.
Returns tests with a disruptiveness ratio above 0, sorted by disruptiveness ratio (default) or by recency. This endpoint is not time-windowed.
The q parameter accepts a structured query string. Terms are space-separated and AND'd together. Supported terms:
- first-seen:[op]YYYY-MM-DD — operators <, <=, >, >= (no operator = exact day match).
- last-seen:[op]YYYY-MM-DD — same operator set.
- tags:foo,bar — matches any listed tag.
- bare text — partial, case-insensitive match against suite, name, file, and classname.
Example: q=last-seen:>=2026-05-01 tags:auth login.
get/api/repos/{owner}/{name}/tests
Request
- Base URL: https://platform.buildpulse.io
- URL: https://platform.buildpulse.io/api/repos/{owner}/{name}/tests
- Auth: one of:
- API key in header Authorization
- HTTP bearer
Path parameters
ownerstring required
Repository owner (case-insensitive).
namestring required
Repository name (case-insensitive).
Query parameters
limitinteger
Page size. Clamped to [1, 100].
afterstring
Opaque pagination cursor from a previous response's metadata.after. Pass back verbatim.
sort'disruptivenessRatio' | 'recency'
Sort order. recency sorts by latestDisruptionAt descending.
qstring
Structured query string. See /api/repos/{owner}/{name}/tests description for the full grammar.
Response
Paginated disruptive tests.
Changes
No recorded changes to this operation across all 1 revision of this API.