Only returns artifacts with a verified download_url from at least one storage backend. storage_status=degraded means one backend only; storage_status=missing means neither backend has the file (download_url will be null). Never returns a URL that has not been verified to exist.
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
build_log,sample_output,expected_output,diff,media_info, orbinary.
GET
/runs/{run_id}/artifacts
curl \
--request GET 'https://sampleplatform.ccextractor.org/api/v1/runs/{run_id}/artifacts' \
--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 (403)
{
"code": "forbidden",
"message": "Token does not have the required scope for this operation.",
"details": {
"required_scope": "runs:write",
"token_scopes": [
"runs:read",
"results:read"
]
}
}
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": {}
}