Retry failed entries

post/v1/datasets/{datasetId}/items/queue/retry

Puts every retryable failed queue entry of the dataset back in the queue: each goes back to pending with its failure cleared and its automatic retries restored, and runs the whole pipeline again. Photos an earlier attempt already stored are reused.

Only entries whose product has at least one photo are retried; the rest would fail the same way again. retried is 0 when nothing was retryable. There is no body.

Private keyapi.v1.datasets.items.queue.retryNo demo

Path parameters

1
datasetIdstring (uuid)required

The dataset's id, as returned when it was created.

Response

200How many entries went back in the queue.
retriedintegerrequired

Entries put back in the queue.

Errors

21

Every error is JSON with a single error string unless noted. Match on the status code; the message is for humans.

401
Organization not found. Please verify the organizationId.

The organization encoded in the API key no longer exists.

404
Dataset not found for this organization.

No dataset with this datasetId belongs to the key's organization.

curl -X POST "https://stylor.ai/api/v1/datasets/YOUR_DATASET_ID/items/queue/retry" \
  -H "Authorization: Bearer $STYLOR_API_KEY"
Response · 200
{
  "retried": 4
}