POST /api/jobs/:id/retry
Jobs
POST /api/jobs/:id/retry
Retry a single failed or cancelled job.
POST
POST /api/jobs/:id/retry
Re-queues a job that has failed or been cancelled. The job’s state changes to
retrying and it will be picked up by a worker.
Authentication
Session cookie (dashboard).Path parameters
Allowed states
A job can only be retried if its current state isfailed or cancelled. Attempting to retry a job in any other state returns 400.
How it works
Sluice re-dispatches the task to Celery viasend_task() using the original task name, arguments, and queue. The attempt counter is incremented so you can track how many times a job has been retried. The job transitions to retrying immediately and moves to queued once the broker accepts the message.
The retry uses the original arguments stored at ingestion time. If your task arguments included references to external state that has since changed, the retried execution will use the original values.