v2

latestOpenAPI 3.1.0UNLICENSED2026-07-26210239.8 KB

Get a list of unhealthy tests

post/flaky-tests/list-unhealthy-tests

Request body

org_url_slugstring required

The slug of your organization. Find this at https://app.trunk.io/trunk/settings under "Organization Name" > "Slug"

status'FLAKY' | 'BROKEN' required

The status filter for unhealthy tests.

Example request

{
  "repo": {
    "host": "github.com",
    "owner": "my-github-org",
    "name": "my-repo"
  },
  "org_url_slug": "my-trunk-org-slug"
}

Response

OK