---
title: "Retry unfinished batch items while retaining successful work"
method: POST
path: "/workspace/content/batches/{jobId}/retry"
tags: ["Platform"]
---

# Retry unfinished batch items while retaining successful work

`POST /workspace/content/batches/{jobId}/retry`

## Request

- Base URL: `https://blitzreels.com/api/v1`
- URL: `https://blitzreels.com/api/v1/workspace/content/batches/{jobId}/retry`
- Auth: API key in header `Authorization`

Requires the current expectedAttempt. Repeating it recovers the same next attempt. Up to five attempts; active and unknown workers block retry. May use generation credits for confirmed failed work. No scheduling or publication.

## Path parameters

- `jobId` string, uuid, required

## Request body

- object
  - `expectedAttempt` integer, required

## Response `200`

Successful response

- object
  - `runId` string, uuid, required
  - `triggerRunId` string, nullable, required
  - `requestId` string, uuid, required
  - `attempt` integer, required
  - `status` 'queued' | 'processing' | 'complete' | 'failed' | 'canceled', required
  - `stage` 'queued' | 'writing' | 'images' | 'videos' | 'done' | 'failed', required
  - `completed` integer, required
  - `failed` integer, required
  - `count` integer, required
  - `done` boolean, required
  - `failedRun` boolean, required
  - `canceled` boolean, required
  - `error` string, nullable, required
  - `items` object[], required
    - `index` integer, required
    - `draftId` string, nullable, required
    - `status` 'pending' | 'ready' | 'error', required
    - `projectId` string, uuid, nullable, required
    - `error` string, nullable, required
  - `createdAt` string, date-time, required
  - `completedAt` string, date-time, nullable, required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `500`: Internal server error

---

[API](https://skmtc.dev/blitzreels/apis/blitzreels-api.md) · [All operations](https://skmtc.dev/blitzreels/apis/blitzreels-api/llms.txt) · [OpenAPI document](https://skmtc.dev/blitzreels/apis/blitzreels-api/revisions/35608b12471d?raw)
