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. -
Derived from linked regression tests. The sample table itself has no quarantine state; active/inactive reflects whether any active regression tests reference the sample.
Values are
activeorinactive. -
Maximum length is
100. -
Maximum length is
50. -
Format should match the following pattern:
^[a-fA-F0-9]{64}$. -
Maximum length is
10. Format should match the following pattern:^[a-zA-Z0-9]+$.
GET
/samples
curl \
--request GET 'https://sampleplatform.ccextractor.org/api/v1/samples' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [],
"pagination": {
"limit": 42,
"offset": 42,
"total": 42,
"next_offset": 42
}
}
Response examples (400)
{
"code": "validation_error",
"message": "Request failed schema validation.",
"details": {
"fields": {
"commit_sha": "Must match pattern ^[a-fA-F0-9]{40}$",
"platform": "Must be one of [linux, windows]"
}
}
}
Response examples (401)
{
"code": "unauthorized",
"message": "Bearer token is missing, expired, or invalid.",
"details": {}
}
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": {}
}