POST /api/v1/ingest/github, BugViper returns a job_id immediately and runs the work asynchronously. Use the job status endpoints on this page to poll for progress and retrieve final statistics once ingestion completes.
GET /api/v1/ingest/jobs/
Returns the current status and accumulated statistics for a single ingestion job.UUID returned by
POST /api/v1/ingest/github in the job_id field.Firebase ID token. Format:
Bearer <token>.Job statuses
| Status | Meaning |
|---|---|
pending | Job has been created; waiting to be picked up by a worker. |
dispatched | Job has been sent to Cloud Tasks; worker has not started yet. |
running | Worker is actively ingesting the repository. |
completed | Ingestion finished successfully. |
failed | Ingestion encountered an unrecoverable error. Check error_message. |
Response
UUID for this ingestion job.
GitHub organization or username.
Repository name.
Branch that was ingested, or
null if the default branch was used.Current job status. One of
pending, dispatched, running, completed, or failed.ISO 8601 timestamp when the job was created.
ISO 8601 timestamp of the most recent status change.
ISO 8601 timestamp when the worker began processing, or
null if not yet started.ISO 8601 timestamp when the job finished (success or failure), or
null if still running.Populated once the job reaches
completed status.Human-readable error description when
status is "failed". null otherwise.Polling example
Sample completed response
Error responses
| Status | Cause |
|---|---|
404 | No job found with the given job_id. |
401 | Missing or invalid Firebase token. |
GET /api/v1/ingest/jobs
Returns a list of recent ingestion jobs, newest first.Maximum number of jobs to return. Increase this if you need to see older jobs.
Firebase ID token. Format:
Bearer <token>.