Use this endpoint to triage a run before drilling into individual errors. group_by=type gives a high-level failure breakdown; group_by=sample_id helps identify flaky samples.
Query parameters
-
Maximum number of results to return (1–100)
Minimum value is
1, maximum value is100. Default value is50. -
Number of results to skip for pagination
Minimum value is
0. Default value is0. -
Values are
type,sample_id,regression_id,category, orseverity. Default value istype. -
Values are
info,warning,error, orcritical.
GET
/runs/{run_id}/error-summary
curl \
--request GET 'https://sampleplatform.ccextractor.org/api/v1/runs/{run_id}/error-summary' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [],
"pagination": {
"limit": 42,
"offset": 42,
"total": 42,
"next_offset": 42
}
}
Response examples (401)
{
"code": "unauthorized",
"message": "Bearer token is missing, expired, or invalid.",
"details": {}
}
Response examples (404)
{
"code": "not_found",
"message": "Run 9317 not found.",
"details": {
"resource": "run",
"id": 9317
}
}
Response examples (429)
{
"code": "rate_limited",
"message": "Rate limit exceeded. Retry after 30 seconds.",
"details": {
"retry_after": 30,
"limit": 120,
"window": "60s"
}
}
Response examples (default)
{
"code": "not_found",
"message": "Run 9317 not found.",
"details": {}
}