Skip to main content

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​

FieldTypeDescription
failedJobsarrayList of failed job objects
failedJobs[].idstringJob identifier
failedJobs[].failedReasonstringError message
failedJobs[].dataobjectOriginal job data

Common Failure Reasons​

ReasonCause
Repository not foundInvalid URL or private repo without token
Authentication failedInvalid or expired access token
Rate limit exceededToo many API requests
TimeoutRepository too large or slow network
Out of memoryWorker ran out of memory processing large repo

Status Codes​

CodeDescription
200Request successful