Oore CI

Get build trends

Tests that failed and then passed on the same commit, and build steps whose median run time grew, across apps the caller can read.

Operation IDget_build_trends
GET
/v1/builds/trends

Tests that failed and then passed on the same commit, and build steps whose median run time grew, across apps the caller can read.

Authorization

bearer_auth
AuthorizationBearer <token>

In: header

Query Parameters

days?integer

Window length in days: 7, 14, 30 (default) or 90

Formatint64

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/builds/trends"
{  "flaky_tests": [    {      "failed_build_id": "string",      "failed_build_number": 0,      "last_seen_at": 0,      "name": "string",      "occurrences": 0,      "passed_build_id": "string",      "passed_build_number": 0,      "pipeline_id": "string",      "pipeline_name": "string",      "project_id": "string",      "project_name": "string",      "suite": "string"    }  ],  "slower_steps": [    {      "after_seconds": 0,      "before_seconds": 0,      "builds": 0,      "pipeline_id": "string",      "pipeline_name": "string",      "project_id": "string",      "project_name": "string",      "step": "string"    }  ],  "window_days": 0}