ApiArena
Get trend
Pass rates per case and criterion over the latest runs, each with the passed and judged attempts and a 95% Wilson interval, plus the open regressions. A regression is a drop of at least 10 percentage points against the runs of the previous 14 days that is significant (Fisher exact, p < 0.05), or a single failure of a critical criterion.
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication. Get your key from the dashboard.
In: header
Path Parameters
suite_id*string
Test suite ID
Format
uuidQuery Parameters
limit?integer
Number of runs, 1 to 50 (default 20). A value outside that range is clamped to it.
Default
20Range
1 <= value <= 50Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/arena/suites/497f6eca-6276-4993-bfeb-53cbbbba6f08/trend"{
"arena_trend": {
"current_config_hash": "string",
"runs": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"created_at": "2019-08-24T14:15:22Z",
"trigger": "manual",
"status": "string",
"config_hash": "string",
"platform_version": {}
}
],
"rows": [
{
"case_key": "string",
"criterion_id": "string",
"per_run": {
"property1": {
"k": 0,
"n": 0,
"low": 0,
"high": 0
},
"property2": {
"k": 0,
"n": 0,
"low": 0,
"high": 0
}
}
}
],
"open_regressions": [
{
"case_key": "string",
"criterion_id": "string",
"critical": true,
"detected_run_id": "ea550091-9660-4cc1-941a-feeb41c9500f",
"detail": {},
"opened_at": "2019-08-24T14:15:22Z"
}
]
}
}{
"error": "Invalid API key",
"message": "string"
}{
"error": "Invalid API key",
"message": "string"
}{
"error": "Invalid API key",
"message": "string"
}