Use failure_signature for flake detection: a stable signature across multiple runs on different commits indicates a genuine regression, not infrastructure noise.
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. -
Normalized run status. Derived from TestProgress rows and TestResult outcomes. The underlying TestStatus model stores only preparation, testing, completed, and canceled (where canceled covers both canceled and error). This enum is the normalized API contract.
Values are
queued,running,pass,fail,canceled,error, orincomplete. -
Maximum length is
100. -
Values are
linuxorwindows. -
ISO 8601 datetime. Returns runs created after this time.
-
ISO 8601 datetime. Returns runs created before this time.
curl \
--request GET 'https://sampleplatform.ccextractor.org/api/v1/samples/{sample_id}/history' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"data": [],
"pagination": {
"limit": 42,
"offset": 42,
"total": 42,
"next_offset": 42
}
}
{
"code": "unauthorized",
"message": "Bearer token is missing, expired, or invalid.",
"details": {}
}
{
"code": "not_found",
"message": "Run 9317 not found.",
"details": {
"resource": "run",
"id": 9317
}
}
{
"code": "rate_limited",
"message": "Rate limit exceeded. Retry after 30 seconds.",
"details": {
"retry_after": 30,
"limit": 120,
"window": "60s"
}
}
{
"code": "not_found",
"message": "Run 9317 not found.",
"details": {}
}