curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.computer.stateset.app/api/v1/jobs/retry-batch' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"job_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}'
{
"accepted": 1,
"rejected": 1,
"results": [
{
"source_job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"new_job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"error": "string"
}
]
}
Retry Jobs Batch V1
Retry up to 50 failed/cancelled jobs in one call. Per-item outcomes — non-retriable jobs (wrong status, cross-tenant, unknown id) are reported in their own row…
POST
/
api
/
v1
/
jobs
/
retry-batch
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.computer.stateset.app/api/v1/jobs/retry-batch' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"job_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}'
{
"accepted": 1,
"rejected": 1,
"results": [
{
"source_job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"new_job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"error": "string"
}
]
}
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
/trigger/batch).
Idempotency is not supported at the batch level — each row creates a
fresh retry. To make a retry replay-safe, use /jobs/{id}/retry
one-by-one with an Idempotency-Key.
Request body
RetryBatchRequest
string (uuid)[]
required
List of source job UUIDs to retry (1..50). Items are validated independently; non-retriable rows surface as per-row errors without blocking the rest. Minimum items:
1. Maximum items: 50.Response
RetryBatchResponse
integer
required
integer
required
RetryBatchItemResult[]
required
Status codes
| Code | Meaning |
|---|---|
200 | Successful Response |
422 | Validation Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.computer.stateset.app/api/v1/jobs/retry-batch' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"job_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}'
{
"accepted": 1,
"rejected": 1,
"results": [
{
"source_job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"new_job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"error": "string"
}
]
}
Last modified on September 21, 2026