Get Failed Jobs
Retrieve a list of all failed ingestion jobs.
Endpoint
GET /jobs/failed
Parameters
None
Example Request
curl http://localhost:3000/jobs/failed
Response
{
"failedJobs": [
{
"id": "01HQZX3Y4Z5A6B7C8D9E0F1G2H",
"failedReason": "Repository not found",
"data": {
"repoUrl": "https://github.com/user/nonexistent.git",
"ref": "main"
}
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
failedJobs | array | List of failed job objects |
failedJobs[].id | string | Job identifier |
failedJobs[].failedReason | string | Error message |
failedJobs[].data | object | Original job data |
Common Failure Reasons
| Reason | Cause |
|---|---|
Repository not found | Invalid URL or private repo without token |
Authentication failed | Invalid or expired access token |
Rate limit exceeded | Too many API requests |
Timeout | Repository too large or slow network |
Out of memory | Worker ran out of memory processing large repo |
Status Codes
| Code | Description |
|---|---|
200 | Request successful |