Flakiness
GET
/api/analytics/flakiness
const url = 'http://localhost:8080/api/analytics/flakiness?days=30&limit=20';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8080/api/analytics/flakiness?days=30&limit=20' \ --header 'Authorization: Bearer <token>'Per-test reliability, ranked by instability. A test is flaky (same rule as the Triage page) when a retry passed after a failure, a multi-trial run mixed passes and failures, or its final outcomes flipped pass↔fail at least twice.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}