POST /api/jobs/bulk/retry
curl --request POST \
--url https://app.sluice.sh/api/api/jobs/bulk/retryimport requests
url = "https://app.sluice.sh/api/api/jobs/bulk/retry"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://app.sluice.sh/api/api/jobs/bulk/retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.sluice.sh/api/api/jobs/bulk/retry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.sluice.sh/api/api/jobs/bulk/retry"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.sluice.sh/api/api/jobs/bulk/retry")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sluice.sh/api/api/jobs/bulk/retry")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyJobs
POST /api/jobs/bulk/retry
Retry multiple failed or cancelled jobs at once.
POST
/
api
/
jobs
/
bulk
/
retry
POST /api/jobs/bulk/retry
curl --request POST \
--url https://app.sluice.sh/api/api/jobs/bulk/retryimport requests
url = "https://app.sluice.sh/api/api/jobs/bulk/retry"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://app.sluice.sh/api/api/jobs/bulk/retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.sluice.sh/api/api/jobs/bulk/retry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.sluice.sh/api/api/jobs/bulk/retry"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.sluice.sh/api/api/jobs/bulk/retry")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sluice.sh/api/api/jobs/bulk/retry")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyRetries 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"
]
}
| Field | Type | Description |
|---|---|---|
ids | string[] | 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
| Field | Type | Description |
|---|---|---|
id | string | Job UUID. |
success | boolean | Whether the retry was successful. |
state | string? | New state after retry (present when success is true). |
error | string? | Error message (present when success is false). |
⌘I