> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/documentation/start-here/ai-agents/transfer-media-encode-and-publish/take-an-episode-offline-without-deleting-it.md).

# Take an episode offline without deleting it

Move a published or scheduled episode to draft as a reversible offline action.

Use draft mode to keep the episode and media while removing it from Podigee publication.

## Before you start

* Read the episode and confirm its ID and current publication state.
* Confirm that reversible removal meets the user's intent.
* Prepare one stable idempotency key.

## Take the episode offline

1. Preview `publish_episode` with the podcast ID and existing episode ID.
2. Set `publication` to `{ "mode": "draft" }`.
3. Review the exact target and offline effect.
4. Confirm the preview with the same idempotency key.
5. Monitor the returned operation.
6. Read the episode and confirm that `published_at` is empty.

## Expected result

The episode becomes a draft without permanent deletion of the episode or its attached media.

## If the episode remains published

Read the durable operation and the episode again. Resume only a retryable operation. Create a new preview when the episode changed after the first preview. Do not delete the episode as a recovery step.

## Directory cache boundary

Podigee updates its feed, but external podcast directories control their refresh timing. Verify the Podigee state first, then check important directories separately.

## Next step

[Verify that a change had the intended effect](/documentation/start-here/ai-agents/make-changes-safely/verify-that-a-change-had-the-intended-effect.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.podigee.com/documentation/start-here/ai-agents/transfer-media-encode-and-publish/take-an-episode-offline-without-deleting-it.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
