Analytics

List flaky tests

Returns tests identified as flaky based on flip rate analysis. A test is considered flaky if its flip rate exceeds the threshold. The analysis period is clamped by your plan tier.

get/api/v1/user/projects/{projectId}/flaky-tests

Request

  • Base URL: https://app.gaffer.sh
  • URL: https://app.gaffer.sh/api/v1/user/projects/{projectId}/flaky-tests
  • Auth: one of:
    • API key in header X-API-Key
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

projectIdstring required

Project ID. Use the list projects endpoint to find project IDs.

Query parameters

thresholdnumber

Minimum flip rate to be considered flaky (0-1)

limitinteger

Maximum number of results to return

daysinteger

Analysis period in days. Clamped by plan tier (Free: 30, Pro: 90, Team: 180). Check the meta field in the response to see if clamping was applied.

Response

List of flaky tests with summary

Changes

No recorded changes to this operation across all 1 revision of this API.