Skip to main content
POST
/
api
/
jobs
/
bulk
/
retry
POST /api/jobs/bulk/retry
curl --request POST \
  --url https://app.sluice.sh/api/api/jobs/bulk/retry

Documentation Index

Fetch the complete documentation index at: https://docs.sluice.sh/llms.txt

Use this file to discover all available pages before exploring further.

Retries up to 100 jobs in a single request. Each job is processed independently — if some jobs can’t be retried (wrong state, not found), the others are still retried.

Authentication

Session cookie (dashboard).

Request body

{
  "ids": [
    "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "b2c3d4e5-f6a7-8901-bcde-f12345678901"
  ]
}
FieldTypeDescription
idsstring[]Array of Sluice job UUIDs. Min 1, max 100.

Response

{
  "results": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "success": true,
      "state": "retrying"
    },
    {
      "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "success": false,
      "error": "Job cannot be retried from state 'active'."
    }
  ]
}

Result fields

FieldTypeDescription
idstringJob UUID.
successbooleanWhether the retry was successful.
statestring?New state after retry (present when success is true).
errorstring?Error message (present when success is false).