v2

latestOpenAPI 3.1.0UNLICENSED2026-07-26210239.8 KB

Get a list of distinct tests that failed in the given time range

post/flaky-tests/list-failing-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"

start_timestring date-time required

The start time of the failing tests (inclusive). Must be within 7 days of the end time.

end_timestring date-time required

The end time of the failing tests (exclusive). Must be within 7 days of the start time.

Example request

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

Response

OK