---
title: "Retry a failed episode"
method: POST
path: "/v1/episodes/{episode_id}/retry"
tags: ["Episodes"]
---

# Retry a failed episode

`POST /v1/episodes/{episode_id}/retry`

## Request

- Base URL: `https://api.jellypod.com`
- URL: `https://api.jellypod.com/v1/episodes/{episode_id}/retry`
- Auth: HTTP bearer

## Path parameters

- `episode_id` string, uuid, required: Episode UUID

## Headers

- `idempotency-key` string: Optional key for one logical generation command. Reuse the same key and input after a lost or uncertain response. After a proven rejection before work starts, follow recovery.idempotency_key. Omit it to start a new generation on every request.

## Response `202`

Generation retry accepted. Check the status URL until generation finishes.

- object
  - `data` Episode, required: A podcast episode with publishing metadata and (when available) audio/video URLs.
    - `audio_url` string, nullable, required
    - `created_at` string, required
    - `description` string, nullable, required
    - `generation` object, nullable, required
      - `completed_at` string, nullable, required
      - `error_message` string
      - `started_at` string, required
      - `state` 'generating' | 'completed' | 'failed', required
      - `skipped_sources` object[]
        - `id` string, required
        - `title` string, nullable, required
        - `url` string, nullable, required
        - `reason` string, required
    - `host_ids` string[], nullable, required
    - `id` string, uuid, required
    - `image_url` string, nullable, required
    - `podcast_id` string, uuid, required
    - `published_at` string, nullable, required
    - `scheduled_at` string, nullable, required
    - `source_ids` string[], required
    - `status` 'draft' | 'published' | 'scheduled', required: Lifecycle state stored on the episode row. Generation progress is reported separately on the `generation` field, `generating`/`completed`/`failed` are not `status` values.
    - `title` string, nullable, required
    - `updated_at` string, required
    - `url` string, nullable, required
    - `video_url` string, nullable, required

## Other responses

- `400`: Validation failed or malformed request.
- `401`: Missing or invalid API key.
- `403`: Authenticated, but this API key does not have access to this resource.
- `404`: Resource not found.
- `409`: The content is generating, already usable, or failed in a way another attempt cannot fix. Nothing was started; the message says what to do instead.
- `429`: Rate limit exceeded. Response includes `Retry-After`, `RateLimit`, and `RateLimit-Policy` headers (IETF draft).
- `500`: Internal server error.

---

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