Jobs
Get Job Statistics
Get aggregate job counts by status.
Returns counts for all statuses (pending, running, completed, failed, retrying, dead) and computed metrics (avg_duration_seconds, failure_rate). Counts are live snapshots from the database.
GET
Get Job Stats
Documentation Index
Fetch the complete documentation index at: https://docs.snackbase.dev/llms.txt
Use this file to discover all available pages before exploring further.
Response
200 - application/json
Successful Response
Previous
Retry JobManually retry a dead, failed, or retrying job.
Resets the job's status to pending, clears the error message,
and resets the attempt counter. The job will be picked up by
the worker on the next poll cycle.
Args:
job_id: ID of the job to retry.
Raises:
404: Job not found.
400: Job is not in dead, failed, or retrying status.
Next
Get Job Stats