Skip to main content
POST
Get a list of unhealthy tests

Authorizations

x-api-token
string
header
required

Body

application/json
repo
object
required

The repository to list tests for.

org_url_slug
string
required

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

Example:

"my-trunk-org-slug"

page_query
object
required

Pagination options for the list of tests.

status
enum<string>
required

The status filter for unhealthy tests.

Available options:
FLAKY,
BROKEN

Response

OK

tests
object[]
required

A page of unhealthy test cases.

page
object
required

Pagination information for the list of test cases.