> 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/manage-episodes/schedule-or-reschedule-an-episode.md).

# Schedule or reschedule an episode

Set a future publication time for an existing episode through the publishing workflow.

Use `publish_episode` with the existing episode ID and a scheduled publication object.

## Before you start

* Read the episode and confirm its current media and publication state.
* Confirm that the episode has playable media before it goes live.
* Choose the intended local date, time, and time zone.
* Convert the final value to an ISO 8601 timestamp with an explicit offset.
* Prepare one stable idempotency key for this scheduling decision.

## Schedule the episode

1. Ask your agent to preview `publish_episode` with the podcast ID and episode ID.
2. Set `publication.mode` to `scheduled`.
3. Set `publication.published_at` to the future ISO 8601 timestamp.
4. Review the normalized UTC instant, episode ID, and publication plan.
5. Confirm the exact preview with the same idempotency key.
6. Monitor the returned operation to a terminal state.
7. Read the episode and verify its saved publication time.

To reschedule, repeat this flow with a new intended time and a new idempotency key.

## Expected result

The existing episode is scheduled for the reviewed instant and reports a future `published_at` value.

## If the time is wrong

Do not confirm the preview. Correct the local time or offset, request a new preview, and verify the normalized instant again.

## If media is missing

Keep the episode as a draft. Upload and attach playable media before you schedule it.

## Next step

[Inspect an episode](/documentation/start-here/ai-agents/manage-episodes/inspect-an-episode.md) to verify the schedule.


---

# 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/manage-episodes/schedule-or-reschedule-an-episode.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.
